Skip to content

Commit 770bfbf

Browse files
author
Mark Scherer
committed
Cleaned a few more doc blocks
1 parent 145f43c commit 770bfbf

File tree

9 files changed

+98
-98
lines changed

9 files changed

+98
-98
lines changed

src/Console/Exception/StopException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
/**
1919
* Exception class for halting errors in console tasks
2020
*
21-
* @see Cake\Console\Shell::_stop()
22-
* @see Cake\Console\Shell::error()
21+
* @see \Cake\Console\Shell::_stop()
22+
* @see \Cake\Console\Shell::error()
2323
*/
2424
class StopException extends Exception
2525
{

src/I18n/RelativeTimeFormatter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class RelativeTimeFormatter
3131
* @param \Cake\Chronos\ChronosInterface|null $other The datetime to compare against.
3232
* @param bool $absolute removes time difference modifiers ago, after, etc
3333
* @return string The difference between the two days in a human readable format
34-
* @see Cake\Chronos\ChronosInterface::diffForHumans
34+
* @see \Cake\Chronos\ChronosInterface::diffForHumans
3535
*/
3636
public function diffForHumans(ChronosInterface $date, ChronosInterface $other = null, $absolute = false)
3737
{
@@ -88,7 +88,7 @@ public function diffForHumans(ChronosInterface $date, ChronosInterface $other =
8888
* @param \DateTimeInterface $time The time instance to format.
8989
* @param array $options Array of options.
9090
* @return string Relative time string.
91-
* @see Cake\I18n\Time::timeAgoInWords()
91+
* @see \Cake\I18n\Time::timeAgoInWords()
9292
*/
9393
public function timeAgoInWords(DatetimeInterface $time, array $options = [])
9494
{
@@ -273,7 +273,7 @@ protected function _diffData($futureTime, $pastTime, $backwards, $options)
273273
* @param \DatetimeInterface $date The date to format.
274274
* @param array $options Array of options.
275275
* @return string Relative date string.
276-
* @see Cake\I18n\Date::timeAgoInWords()
276+
* @see \Cake\I18n\Date::timeAgoInWords()
277277
*/
278278
public function dateAgoInWords(DatetimeInterface $date, array $options = [])
279279
{

src/Mailer/Mailer.php

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -79,36 +79,36 @@
7979
* Our mailer could either be registered in the application bootstrap, or
8080
* in the Table class' initialize() hook.
8181
*
82-
* @method Email to($email = null, $name = null)
83-
* @method Email from($email = null, $name = null)
84-
* @method Email sender($email = null, $name = null)
85-
* @method Email replyTo($email = null, $name = null)
86-
* @method Email readReceipt($email = null, $name = null)
87-
* @method Email returnPath($email = null, $name = null)
88-
* @method Email addTo($email, $name = null)
89-
* @method Email cc($email = null, $name = null)
90-
* @method Email addCc($email, $name = null)
91-
* @method Email bcc($email = null, $name = null)
92-
* @method Email addBcc($email, $name = null)
93-
* @method Email charset($charset = null)
94-
* @method Email headerCharset($charset = null)
95-
* @method Email subject($subject = null)
96-
* @method Email setHeaders(array $headers)
97-
* @method Email addHeaders(array $headers)
98-
* @method Email getHeaders(array $include = [])
99-
* @method Email template($template = false, $layout = false)
100-
* @method Email viewRender($viewClass = null)
101-
* @method Email viewVars($viewVars = null)
102-
* @method Email theme($theme = null)
103-
* @method Email helpers($helpers = null)
104-
* @method Email emailFormat($format = null)
105-
* @method Email transport($name = null)
106-
* @method Email messageId($message = null)
107-
* @method Email domain($domain = null)
108-
* @method Email attachments($attachments = null)
109-
* @method Email addAttachments($attachments)
110-
* @method Email message($type = null)
111-
* @method Email profile($config = null)
82+
* @method \Cake\Mailer\Email to($email = null, $name = null)
83+
* @method \Cake\Mailer\Email from($email = null, $name = null)
84+
* @method \Cake\Mailer\Email sender($email = null, $name = null)
85+
* @method \Cake\Mailer\Email replyTo($email = null, $name = null)
86+
* @method \Cake\Mailer\Email readReceipt($email = null, $name = null)
87+
* @method \Cake\Mailer\Email returnPath($email = null, $name = null)
88+
* @method \Cake\Mailer\Email addTo($email, $name = null)
89+
* @method \Cake\Mailer\Email cc($email = null, $name = null)
90+
* @method \Cake\Mailer\Email addCc($email, $name = null)
91+
* @method \Cake\Mailer\Email bcc($email = null, $name = null)
92+
* @method \Cake\Mailer\Email addBcc($email, $name = null)
93+
* @method \Cake\Mailer\Email charset($charset = null)
94+
* @method \Cake\Mailer\Email headerCharset($charset = null)
95+
* @method \Cake\Mailer\Email subject($subject = null)
96+
* @method \Cake\Mailer\Email setHeaders(array $headers)
97+
* @method \Cake\Mailer\Email addHeaders(array $headers)
98+
* @method \Cake\Mailer\Email getHeaders(array $include = [])
99+
* @method \Cake\Mailer\Email template($template = false, $layout = false)
100+
* @method \Cake\Mailer\Email viewRender($viewClass = null)
101+
* @method \Cake\Mailer\Email viewVars($viewVars = null)
102+
* @method \Cake\Mailer\Email theme($theme = null)
103+
* @method \Cake\Mailer\Email helpers($helpers = null)
104+
* @method \Cake\Mailer\Email emailFormat($format = null)
105+
* @method \Cake\Mailer\Email transport($name = null)
106+
* @method \Cake\Mailer\Email messageId($message = null)
107+
* @method \Cake\Mailer\Email domain($domain = null)
108+
* @method \Cake\Mailer\Email attachments($attachments = null)
109+
* @method \Cake\Mailer\Email addAttachments($attachments)
110+
* @method \Cake\Mailer\Email message($type = null)
111+
* @method \Cake\Mailer\Email profile($config = null)
112112
*/
113113
abstract class Mailer implements EventListenerInterface
114114
{

src/Network/CorsBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*
2525
* It is most convenient to get this object via `Request::cors()`.
2626
*
27-
* @see Cake\Network\Response::cors()
27+
* @see \Cake\Network\Response::cors()
2828
*/
2929
class CorsBuilder
3030
{

src/ORM/LazyEagerLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class LazyEagerLoader
3636
*
3737
* @param \Cake\Datasource\EntityInterface|array $entities a single entity or list of entities
3838
* @param array $contain A `contain()` compatible array.
39-
* @see Cake\ORM\Query\contain()
39+
* @see \Cake\ORM\Query\contain()
4040
* @param \Cake\ORM\Table $source The table to use for fetching the top level entities
4141
* @return \Cake\Datasource\EntityInterface|array
4242
*/

src/ORM/Query.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -33,39 +33,39 @@
3333
* into a specific iterator that will be responsible for hydrating results if
3434
* required.
3535
*
36-
* @see CollectionInterface For a full description of the collection methods supported by this class
37-
* @method CollectionInterface each(callable $c) Passes each of the query results to the callable
38-
* @method CollectionInterface filter(callable $c = null) Keeps the results using passing the callable test
39-
* @method CollectionInterface reject(callable $c) Removes the results passing the callable test
36+
* @see \Cake\Collection\CollectionInterface For a full description of the collection methods supported by this class
37+
* @method \Cake\Collection\CollectionInterface each(callable $c) Passes each of the query results to the callable
38+
* @method \Cake\Collection\CollectionInterface filter(callable $c = null) Keeps the results using passing the callable test
39+
* @method \Cake\Collection\CollectionInterface reject(callable $c) Removes the results passing the callable test
4040
* @method bool every(callable $c) Returns true if all the results pass the callable test
4141
* @method bool some(callable $c) Returns true if at least one of the results pass the callable test
42-
* @method CollectionInterface map(callable $c) Modifies each of the results using the callable
42+
* @method \Cake\Collection\CollectionInterface map(callable $c) Modifies each of the results using the callable
4343
* @method mixed reduce(callable $c, $zero = null) Folds all the results into a single value using the callable.
44-
* @method CollectionInterface extract($field) Extracts a single column from each row
44+
* @method \Cake\Collection\CollectionInterface extract($field) Extracts a single column from each row
4545
* @method mixed max($field, $type = SORT_NUMERIC) Returns the maximum value for a single column in all the results.
4646
* @method mixed min($field, $type = SORT_NUMERIC) Returns the minimum value for a single column in all the results.
47-
* @method CollectionInterface groupBy(string|callable $field) In-memory group all results by the value of a column.
48-
* @method CollectionInterface indexBy(string|callable $field) Returns the results indexed by the value of a column.
47+
* @method \Cake\Collection\CollectionInterface groupBy(string|callable $field) In-memory group all results by the value of a column.
48+
* @method \Cake\Collection\CollectionInterface indexBy(string|callable $field) Returns the results indexed by the value of a column.
4949
* @method int countBy(string|callable $field) Returns the number of unique values for a column
5050
* @method float sumOf(string|callable $field) Returns the sum of all values for a single column
51-
* @method CollectionInterface shuffle() In-memory randomize the order the results are returned
52-
* @method CollectionInterface sample($size = 10) In-memory shuffle the results and return a subset of them.
53-
* @method CollectionInterface take($size = 1, $from = 0) In-memory limit and offset for the query results.
54-
* @method CollectionInterface skip(int $howMany) Skips some rows from the start of the query result.
51+
* @method \Cake\Collection\CollectionInterface shuffle() In-memory randomize the order the results are returned
52+
* @method \Cake\Collection\CollectionInterface sample($size = 10) In-memory shuffle the results and return a subset of them.
53+
* @method \Cake\Collection\CollectionInterface take($size = 1, $from = 0) In-memory limit and offset for the query results.
54+
* @method \Cake\Collection\CollectionInterface skip(int $howMany) Skips some rows from the start of the query result.
5555
* @method mixed last() Return the last row of the query result
56-
* @method CollectionInterface append(array|Traversable $items) Appends more rows to the result of the query.
57-
* @method CollectionInterface combine($k, $v, $g = null) Returns the values of the column $v index by column $k,
56+
* @method \Cake\Collection\CollectionInterface append(array|Traversable $items) Appends more rows to the result of the query.
57+
* @method \Cake\Collection\CollectionInterface combine($k, $v, $g = null) Returns the values of the column $v index by column $k,
5858
* and grouped by $g.
59-
* @method CollectionInterface nest($k, $p) Creates a tree structure by nesting the values of column $p into that
59+
* @method \Cake\Collection\CollectionInterface nest($k, $p) Creates a tree structure by nesting the values of column $p into that
6060
* with the same value for $k.
6161
* @method array toArray() Returns a key-value array with the results of this query.
6262
* @method array toList() Returns a numerically indexed array with the results of this query.
63-
* @method CollectionInterface stopWhen(callable $c) Returns each row until the callable returns true.
64-
* @method CollectionInterface zip(array|Traversable $c) Returns the first result of both the query and $c in an array,
63+
* @method \Cake\Collection\CollectionInterface stopWhen(callable $c) Returns each row until the callable returns true.
64+
* @method \Cake\Collection\CollectionInterface zip(array|\Traversable $c) Returns the first result of both the query and $c in an array,
6565
* then the second results and so on.
66-
* @method CollectionInterface zipWith(...$collections, callable $c) Returns each of the results out of calling $c
66+
* @method \Cake\Collection\CollectionInterface zipWith(...$collections, callable $c) Returns each of the results out of calling $c
6767
* with the first rows of the query and each of the items, then the second rows and so on.
68-
* @method CollectionInterface chunk($size) Groups the results in arrays of $size rows each.
68+
* @method \Cake\Collection\CollectionInterface chunk($size) Groups the results in arrays of $size rows each.
6969
* @method bool isEmpty($size) Returns true if this query found no results.
7070
*/
7171
class Query extends DatabaseQuery implements JsonSerializable, QueryInterface

src/ORM/RulesChecker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*
2424
* Adds ORM related features to the RulesChecker class.
2525
*
26-
* @see Cake\Datasource\RulesChecker
26+
* @see \Cake\Datasource\RulesChecker
2727
*/
2828
class RulesChecker extends BaseRulesChecker
2929
{

0 commit comments

Comments
 (0)