1 | <?php namespace Anomaly\Streams\Platform\Entry; |
||
14 | class EntryCollection extends EloquentCollection |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * Return the sorted entries. |
||
19 | * |
||
20 | * @param bool|false $reverse |
||
|
|||
21 | * @return static |
||
22 | */ |
||
23 | public function sorted($direction = 'asc') |
||
40 | |||
41 | /** |
||
42 | * Return labels for each entry. |
||
43 | * |
||
44 | * @param null $text |
||
45 | * @param string $context |
||
46 | * @param string $size |
||
47 | * @return array |
||
48 | */ |
||
49 | public function labels($text = null, $context = null, $size = null) |
||
66 | } |
||
67 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.