Browse Source

Cleaned a few more doc blocks

Mark Scherer 10 years ago
parent
commit
770bfbf359

+ 2 - 2
src/Console/Exception/StopException.php

@@ -18,8 +18,8 @@ use Cake\Core\Exception\Exception;
 /**
  * Exception class for halting errors in console tasks
  *
- * @see Cake\Console\Shell::_stop()
- * @see Cake\Console\Shell::error()
+ * @see \Cake\Console\Shell::_stop()
+ * @see \Cake\Console\Shell::error()
  */
 class StopException extends Exception
 {

+ 3 - 3
src/I18n/RelativeTimeFormatter.php

@@ -31,7 +31,7 @@ class RelativeTimeFormatter
      * @param \Cake\Chronos\ChronosInterface|null $other The datetime to compare against.
      * @param bool $absolute removes time difference modifiers ago, after, etc
      * @return string The difference between the two days in a human readable format
-     * @see Cake\Chronos\ChronosInterface::diffForHumans
+     * @see \Cake\Chronos\ChronosInterface::diffForHumans
      */
     public function diffForHumans(ChronosInterface $date, ChronosInterface $other = null, $absolute = false)
     {
@@ -88,7 +88,7 @@ class RelativeTimeFormatter
      * @param \DateTimeInterface $time The time instance to format.
      * @param array $options Array of options.
      * @return string Relative time string.
-     * @see Cake\I18n\Time::timeAgoInWords()
+     * @see \Cake\I18n\Time::timeAgoInWords()
      */
     public function timeAgoInWords(DatetimeInterface $time, array $options = [])
     {
@@ -273,7 +273,7 @@ class RelativeTimeFormatter
      * @param \DatetimeInterface $date The date to format.
      * @param array $options Array of options.
      * @return string Relative date string.
-     * @see Cake\I18n\Date::timeAgoInWords()
+     * @see \Cake\I18n\Date::timeAgoInWords()
      */
     public function dateAgoInWords(DatetimeInterface $date, array $options = [])
     {

+ 30 - 30
src/Mailer/Mailer.php

@@ -79,36 +79,36 @@ use Cake\Mailer\Exception\MissingActionException;
  * Our mailer could either be registered in the application bootstrap, or
  * in the Table class' initialize() hook.
  *
- * @method Email to($email = null, $name = null)
- * @method Email from($email = null, $name = null)
- * @method Email sender($email = null, $name = null)
- * @method Email replyTo($email = null, $name = null)
- * @method Email readReceipt($email = null, $name = null)
- * @method Email returnPath($email = null, $name = null)
- * @method Email addTo($email, $name = null)
- * @method Email cc($email = null, $name = null)
- * @method Email addCc($email, $name = null)
- * @method Email bcc($email = null, $name = null)
- * @method Email addBcc($email, $name = null)
- * @method Email charset($charset = null)
- * @method Email headerCharset($charset = null)
- * @method Email subject($subject = null)
- * @method Email setHeaders(array $headers)
- * @method Email addHeaders(array $headers)
- * @method Email getHeaders(array $include = [])
- * @method Email template($template = false, $layout = false)
- * @method Email viewRender($viewClass = null)
- * @method Email viewVars($viewVars = null)
- * @method Email theme($theme = null)
- * @method Email helpers($helpers = null)
- * @method Email emailFormat($format = null)
- * @method Email transport($name = null)
- * @method Email messageId($message = null)
- * @method Email domain($domain = null)
- * @method Email attachments($attachments = null)
- * @method Email addAttachments($attachments)
- * @method Email message($type = null)
- * @method Email profile($config = null)
+ * @method \Cake\Mailer\Email to($email = null, $name = null)
+ * @method \Cake\Mailer\Email from($email = null, $name = null)
+ * @method \Cake\Mailer\Email sender($email = null, $name = null)
+ * @method \Cake\Mailer\Email replyTo($email = null, $name = null)
+ * @method \Cake\Mailer\Email readReceipt($email = null, $name = null)
+ * @method \Cake\Mailer\Email returnPath($email = null, $name = null)
+ * @method \Cake\Mailer\Email addTo($email, $name = null)
+ * @method \Cake\Mailer\Email cc($email = null, $name = null)
+ * @method \Cake\Mailer\Email addCc($email, $name = null)
+ * @method \Cake\Mailer\Email bcc($email = null, $name = null)
+ * @method \Cake\Mailer\Email addBcc($email, $name = null)
+ * @method \Cake\Mailer\Email charset($charset = null)
+ * @method \Cake\Mailer\Email headerCharset($charset = null)
+ * @method \Cake\Mailer\Email subject($subject = null)
+ * @method \Cake\Mailer\Email setHeaders(array $headers)
+ * @method \Cake\Mailer\Email addHeaders(array $headers)
+ * @method \Cake\Mailer\Email getHeaders(array $include = [])
+ * @method \Cake\Mailer\Email template($template = false, $layout = false)
+ * @method \Cake\Mailer\Email viewRender($viewClass = null)
+ * @method \Cake\Mailer\Email viewVars($viewVars = null)
+ * @method \Cake\Mailer\Email theme($theme = null)
+ * @method \Cake\Mailer\Email helpers($helpers = null)
+ * @method \Cake\Mailer\Email emailFormat($format = null)
+ * @method \Cake\Mailer\Email transport($name = null)
+ * @method \Cake\Mailer\Email messageId($message = null)
+ * @method \Cake\Mailer\Email domain($domain = null)
+ * @method \Cake\Mailer\Email attachments($attachments = null)
+ * @method \Cake\Mailer\Email addAttachments($attachments)
+ * @method \Cake\Mailer\Email message($type = null)
+ * @method \Cake\Mailer\Email profile($config = null)
  */
 abstract class Mailer implements EventListenerInterface
 {

+ 1 - 1
src/Network/CorsBuilder.php

@@ -24,7 +24,7 @@ namespace Cake\Network;
  *
  * It is most convenient to get this object via `Request::cors()`.
  *
- * @see Cake\Network\Response::cors()
+ * @see \Cake\Network\Response::cors()
  */
 class CorsBuilder
 {

+ 1 - 1
src/ORM/LazyEagerLoader.php

@@ -36,7 +36,7 @@ class LazyEagerLoader
      *
      * @param \Cake\Datasource\EntityInterface|array $entities a single entity or list of entities
      * @param array $contain A `contain()` compatible array.
-     * @see Cake\ORM\Query\contain()
+     * @see \Cake\ORM\Query\contain()
      * @param \Cake\ORM\Table $source The table to use for fetching the top level entities
      * @return \Cake\Datasource\EntityInterface|array
      */

+ 19 - 19
src/ORM/Query.php

@@ -33,39 +33,39 @@ use Traversable;
  * into a specific iterator that will be responsible for hydrating results if
  * required.
  *
- * @see CollectionInterface For a full description of the collection methods supported by this class
- * @method CollectionInterface each(callable $c) Passes each of the query results to the callable
- * @method CollectionInterface filter(callable $c = null) Keeps the results using passing the callable test
- * @method CollectionInterface reject(callable $c) Removes the results passing the callable test
+ * @see \Cake\Collection\CollectionInterface For a full description of the collection methods supported by this class
+ * @method \Cake\Collection\CollectionInterface each(callable $c) Passes each of the query results to the callable
+ * @method \Cake\Collection\CollectionInterface filter(callable $c = null) Keeps the results using passing the callable test
+ * @method \Cake\Collection\CollectionInterface reject(callable $c) Removes the results passing the callable test
  * @method bool every(callable $c) Returns true if all the results pass the callable test
  * @method bool some(callable $c) Returns true if at least one of the results pass the callable test
- * @method CollectionInterface map(callable $c) Modifies each of the results using the callable
+ * @method \Cake\Collection\CollectionInterface map(callable $c) Modifies each of the results using the callable
  * @method mixed reduce(callable $c, $zero = null) Folds all the results into a single value using the callable.
- * @method CollectionInterface extract($field) Extracts a single column from each row
+ * @method \Cake\Collection\CollectionInterface extract($field) Extracts a single column from each row
  * @method mixed max($field, $type = SORT_NUMERIC) Returns the maximum value for a single column in all the results.
  * @method mixed min($field, $type = SORT_NUMERIC) Returns the minimum value for a single column in all the results.
- * @method CollectionInterface groupBy(string|callable $field) In-memory group all results by the value of a column.
- * @method CollectionInterface indexBy(string|callable $field) Returns the results indexed by the value of a column.
+ * @method \Cake\Collection\CollectionInterface groupBy(string|callable $field) In-memory group all results by the value of a column.
+ * @method \Cake\Collection\CollectionInterface indexBy(string|callable $field) Returns the results indexed by the value of a column.
  * @method int countBy(string|callable $field) Returns the number of unique values for a column
  * @method float sumOf(string|callable $field) Returns the sum of all values for a single column
- * @method CollectionInterface shuffle() In-memory randomize the order the results are returned
- * @method CollectionInterface sample($size = 10) In-memory shuffle the results and return a subset of them.
- * @method CollectionInterface take($size = 1, $from = 0) In-memory limit and offset for the query results.
- * @method CollectionInterface skip(int $howMany) Skips some rows from the start of the query result.
+ * @method \Cake\Collection\CollectionInterface shuffle() In-memory randomize the order the results are returned
+ * @method \Cake\Collection\CollectionInterface sample($size = 10) In-memory shuffle the results and return a subset of them.
+ * @method \Cake\Collection\CollectionInterface take($size = 1, $from = 0) In-memory limit and offset for the query results.
+ * @method \Cake\Collection\CollectionInterface skip(int $howMany) Skips some rows from the start of the query result.
  * @method mixed last() Return the last row of the query result
- * @method CollectionInterface append(array|Traversable $items) Appends more rows to the result of the query.
- * @method CollectionInterface combine($k, $v, $g = null) Returns the values of the column $v index by column $k,
+ * @method \Cake\Collection\CollectionInterface append(array|Traversable $items) Appends more rows to the result of the query.
+ * @method \Cake\Collection\CollectionInterface combine($k, $v, $g = null) Returns the values of the column $v index by column $k,
  *   and grouped by $g.
- * @method CollectionInterface nest($k, $p) Creates a tree structure by nesting the values of column $p into that
+ * @method \Cake\Collection\CollectionInterface nest($k, $p) Creates a tree structure by nesting the values of column $p into that
  *   with the same value for $k.
  * @method array toArray() Returns a key-value array with the results of this query.
  * @method array toList() Returns a numerically indexed array with the results of this query.
- * @method CollectionInterface stopWhen(callable $c) Returns each row until the callable returns true.
- * @method CollectionInterface zip(array|Traversable $c) Returns the first result of both the query and $c in an array,
+ * @method \Cake\Collection\CollectionInterface stopWhen(callable $c) Returns each row until the callable returns true.
+ * @method \Cake\Collection\CollectionInterface zip(array|\Traversable $c) Returns the first result of both the query and $c in an array,
  *   then the second results and so on.
- * @method CollectionInterface zipWith(...$collections, callable $c) Returns each of the results out of calling $c
+ * @method \Cake\Collection\CollectionInterface zipWith(...$collections, callable $c) Returns each of the results out of calling $c
  *   with the first rows of the query and each of the items, then the second rows and so on.
- * @method CollectionInterface chunk($size) Groups the results in arrays of $size rows each.
+ * @method \Cake\Collection\CollectionInterface chunk($size) Groups the results in arrays of $size rows each.
  * @method bool isEmpty($size) Returns true if this query found no results.
  */
 class Query extends DatabaseQuery implements JsonSerializable, QueryInterface

+ 1 - 1
src/ORM/RulesChecker.php

@@ -23,7 +23,7 @@ use Cake\ORM\Rule\IsUnique;
  *
  * Adds ORM related features to the RulesChecker class.
  *
- * @see Cake\Datasource\RulesChecker
+ * @see \Cake\Datasource\RulesChecker
  */
 class RulesChecker extends BaseRulesChecker
 {

+ 39 - 39
src/Validation/Validator.php

@@ -543,7 +543,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::notBlank()
+     * @see \Cake\Validation\Validation::notBlank()
      * @return $this
      */
     public function notBlank($field, $message = null, $when = null)
@@ -561,7 +561,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::alphaNumeric()
+     * @see \Cake\Validation\Validation::alphaNumeric()
      * @return $this
      */
     public function alphaNumeric($field, $message = null, $when = null)
@@ -580,7 +580,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::alphaNumeric()
+     * @see \Cake\Validation\Validation::alphaNumeric()
      * @return $this
      */
     public function lengthBetween($field, array $range, $message = null, $when = null)
@@ -603,7 +603,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::cc()
+     * @see \Cake\Validation\Validation::cc()
      * @return $this
      */
     public function creditCard($field, $type = 'all', $message = null, $when = null)
@@ -622,7 +622,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::comparison()
+     * @see \Cake\Validation\Validation::comparison()
      * @return $this
      */
     public function greaterThan($field, $value, $message = null, $when = null)
@@ -641,7 +641,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::comparison()
+     * @see \Cake\Validation\Validation::comparison()
      * @return $this
      */
     public function greaterThanOrEqual($field, $value, $message = null, $when = null)
@@ -660,7 +660,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::comparison()
+     * @see \Cake\Validation\Validation::comparison()
      * @return $this
      */
     public function lessThan($field, $value, $message = null, $when = null)
@@ -679,7 +679,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::comparison()
+     * @see \Cake\Validation\Validation::comparison()
      * @return $this
      */
     public function lessThanOrEqual($field, $value, $message = null, $when = null)
@@ -698,7 +698,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::comparison()
+     * @see \Cake\Validation\Validation::comparison()
      * @return $this
      */
     public function equals($field, $value, $message = null, $when = null)
@@ -717,7 +717,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::comparison()
+     * @see \Cake\Validation\Validation::comparison()
      * @return $this
      */
     public function notEquals($field, $value, $message = null, $when = null)
@@ -738,7 +738,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::compareWith()
+     * @see \Cake\Validation\Validation::compareWith()
      * @return $this
      */
     public function sameAs($field, $secondField, $message = null, $when = null)
@@ -757,7 +757,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::containsNonAlphaNumeric()
+     * @see \Cake\Validation\Validation::containsNonAlphaNumeric()
      * @return $this
      */
     public function containsNonAlphaNumeric($field, $limit = 1, $message = null, $when = null)
@@ -776,7 +776,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::date()
+     * @see \Cake\Validation\Validation::date()
      * @return $this
      */
     public function date($field, $formats = ['ymd'], $message = null, $when = null)
@@ -795,7 +795,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::datetime()
+     * @see \Cake\Validation\Validation::datetime()
      * @return $this
      */
     public function dateTime($field, $formats = ['ymd'], $message = null, $when = null)
@@ -813,7 +813,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::time()
+     * @see \Cake\Validation\Validation::time()
      * @return $this
      */
     public function time($field, $message = null, $when = null)
@@ -831,7 +831,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::boolean()
+     * @see \Cake\Validation\Validation::boolean()
      * @return $this
      */
     public function boolean($field, $message = null, $when = null)
@@ -850,7 +850,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::decimal()
+     * @see \Cake\Validation\Validation::decimal()
      * @return $this
      */
     public function decimal($field, $places = null, $message = null, $when = null)
@@ -869,7 +869,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::email()
+     * @see \Cake\Validation\Validation::email()
      * @return $this
      */
     public function email($field, $checkMX = false, $message = null, $when = null)
@@ -889,7 +889,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::ip()
+     * @see \Cake\Validation\Validation::ip()
      * @return $this
      */
     public function ip($field, $message = null, $when = null)
@@ -907,7 +907,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::ip()
+     * @see \Cake\Validation\Validation::ip()
      * @return $this
      */
     public function ipv4($field, $message = null, $when = null)
@@ -925,7 +925,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::ip()
+     * @see \Cake\Validation\Validation::ip()
      * @return $this
      */
     public function ipv6($field, $message = null, $when = null)
@@ -944,7 +944,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::minLength()
+     * @see \Cake\Validation\Validation::minLength()
      * @return $this
      */
     public function minLength($field, $min, $message = null, $when = null)
@@ -963,7 +963,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::maxLength()
+     * @see \Cake\Validation\Validation::maxLength()
      * @return $this
      */
     public function maxLength($field, $max, $message = null, $when = null)
@@ -981,7 +981,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::numeric()
+     * @see \Cake\Validation\Validation::numeric()
      * @return $this
      */
     public function numeric($field, $message = null, $when = null)
@@ -999,7 +999,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::naturalNumber()
+     * @see \Cake\Validation\Validation::naturalNumber()
      * @return $this
      */
     public function naturalNumber($field, $message = null, $when = null)
@@ -1017,7 +1017,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::naturalNumber()
+     * @see \Cake\Validation\Validation::naturalNumber()
      * @return $this
      */
     public function nonNegativeInteger($field, $message = null, $when = null)
@@ -1036,7 +1036,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::range()
+     * @see \Cake\Validation\Validation::range()
      * @return $this
      */
     public function range($field, array $range, $message = null, $when = null)
@@ -1059,7 +1059,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::url()
+     * @see \Cake\Validation\Validation::url()
      * @return $this
      */
     public function url($field, $message = null, $when = null)
@@ -1079,7 +1079,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::url()
+     * @see \Cake\Validation\Validation::url()
      * @return $this
      */
     public function urlWithProtocol($field, $message = null, $when = null)
@@ -1098,7 +1098,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::inList()
+     * @see \Cake\Validation\Validation::inList()
      * @return $this
      */
     public function inList($field, array $list, $message = null, $when = null)
@@ -1116,7 +1116,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::uuid()
+     * @see \Cake\Validation\Validation::uuid()
      * @return $this
      */
     public function uuid($field, $message = null, $when = null)
@@ -1137,7 +1137,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::uploadedFile()
+     * @see \Cake\Validation\Validation::uploadedFile()
      * @return $this
      */
     public function uploadedFile($field, array $options, $message = null, $when = null)
@@ -1157,7 +1157,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::uuid()
+     * @see \Cake\Validation\Validation::uuid()
      * @return $this
      */
     public function latLong($field, $message = null, $when = null)
@@ -1175,7 +1175,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::latitude()
+     * @see \Cake\Validation\Validation::latitude()
      * @return $this
      */
     public function latitude($field, $message = null, $when = null)
@@ -1193,7 +1193,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::longitude()
+     * @see \Cake\Validation\Validation::longitude()
      * @return $this
      */
     public function longitude($field, $message = null, $when = null)
@@ -1211,7 +1211,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::ascii()
+     * @see \Cake\Validation\Validation::ascii()
      * @return $this
      */
     public function ascii($field, $message = null, $when = null)
@@ -1229,7 +1229,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::utf8()
+     * @see \Cake\Validation\Validation::utf8()
      * @return $this
      */
     public function utf8($field, $message = null, $when = null)
@@ -1249,7 +1249,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::utf8()
+     * @see \Cake\Validation\Validation::utf8()
      * @return $this
      */
     public function utf8Extended($field, $message = null, $when = null)
@@ -1267,7 +1267,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
      *   true when the valdiation rule should be applied.
-     * @see Cake\Validation\Validation::isInteger()
+     * @see \Cake\Validation\Validation::isInteger()
      * @return $this
      */
     public function integer($field, $message = null, $when = null)

+ 2 - 2
src/View/Helper/FormHelper.php

@@ -2276,7 +2276,7 @@ class FormHelper extends Helper
      * @param string $fieldName Prefix name for the SELECT element
      * @param array $options Array of Options
      * @return string Generated set of select boxes for time formats chosen.
-     * @see Cake\View\Helper\FormHelper::dateTime() for templating options.
+     * @see \Cake\View\Helper\FormHelper::dateTime() for templating options.
      */
     public function time($fieldName, array $options = [])
     {
@@ -2305,7 +2305,7 @@ class FormHelper extends Helper
      * @param string $fieldName Prefix name for the SELECT element
      * @param array $options Array of Options
      * @return string Generated set of select boxes for time formats chosen.
-     * @see Cake\View\Helper\FormHelper::dateTime() for templating options.
+     * @see \Cake\View\Helper\FormHelper::dateTime() for templating options.
      */
     public function date($fieldName, array $options = [])
     {