Browse Source

Fix docblocks see links.

mscherer 5 years ago
parent
commit
06d1cec3a9

+ 1 - 1
src/Core/Plugin.php

@@ -302,7 +302,7 @@ class Plugin
      * Loads the routes file for a plugin, or all plugins configured to load their respective routes file.
      *
      * If you need fine grained control over how routes are loaded for plugins, you
-     * can use {@see Cake\Routing\RouteBuilder::loadPlugin()}
+     * can use {@see \Cake\Routing\RouteBuilder::loadPlugin()}
      *
      * @param string|null $name name of the plugin, if null will operate on all
      *   plugins having enabled the loading of routes files.

+ 2 - 2
src/Http/Cookie/Cookie.php

@@ -42,8 +42,8 @@ use InvalidArgumentException;
  *
  * @link https://tools.ietf.org/html/rfc6265
  * @link https://en.wikipedia.org/wiki/HTTP_cookie
- * @see Cake\Http\Cookie\CookieCollection for working with collections of cookies.
- * @see Cake\Http\Response::getCookieCollection() for working with response cookies.
+ * @see \Cake\Http\Cookie\CookieCollection for working with collections of cookies.
+ * @see \Cake\Http\Response::getCookieCollection() for working with response cookies.
  */
 class Cookie implements CookieInterface
 {

+ 1 - 1
src/TestSuite/TestEmailTransport.php

@@ -23,7 +23,7 @@ use Cake\Mailer\Transport\DebugTransport;
  *
  * Set this as the email transport to capture emails for later assertions
  *
- * @see Cake\TestSuite\EmailTrait
+ * @see \Cake\TestSuite\EmailTrait
  */
 class TestEmailTransport extends DebugTransport
 {

+ 1 - 1
src/Utility/Crypto/Mcrypt.php

@@ -20,7 +20,7 @@ namespace Cake\Utility\Crypto;
  * This class is not intended to be used directly and should only
  * be used in the context of Cake\Utility\Security.
  *
- * @deprecated 3.3.0 It is recommended to use {@see Cake\Utility\Crypto\OpenSsl} instead.
+ * @deprecated 3.3.0 It is recommended to use {@see \Cake\Utility\Crypto\OpenSsl} instead.
  * @internal
  */
 class Mcrypt

+ 5 - 0
tests/TestCase/Auth/DigestAuthenticateTest.php

@@ -48,6 +48,11 @@ class DigestAuthenticateTest extends TestCase
     public $fixtures = ['core.AuthUsers', 'core.Users'];
 
     /**
+     * @var \Cake\Auth\DigestAuthenticate
+     */
+    protected $auth;
+
+    /**
      * setup
      *
      * @return void

+ 2 - 2
tests/TestCase/Log/Engine/BaseLogTest.php

@@ -20,8 +20,8 @@ use Psr\Log\LogLevel;
 
 /**
  * Class BaseLogImpl
- * Implementation of abstract class {@see Cake\Log\Engine\BaseLog},
- * required by test case {@see Cake\Test\TestCase\Log\Engine\BaseLogTest}.
+ * Implementation of abstract class {@see \Cake\Log\Engine\BaseLog},
+ * required by test case {@see \Cake\Test\TestCase\Log\Engine\BaseLogTest}.
  */
 class BaseLogImpl extends BaseLog
 {