1 | <?php namespace Anomaly\Streams\Platform\Entry; |
||
15 | class EntryCollection extends EloquentCollection |
||
16 | { |
||
17 | |||
18 | /** |
||
19 | * Return the sorted entries. |
||
20 | * |
||
21 | * @param bool|false $reverse |
||
|
|||
22 | * @return static |
||
23 | */ |
||
24 | public function sorted($direction = 'asc') |
||
41 | |||
42 | /** |
||
43 | * Return labels for each entry. |
||
44 | * |
||
45 | * @param null $text |
||
46 | * @param string $context |
||
47 | * @param string $size |
||
48 | * @return array |
||
49 | */ |
||
50 | public function labels($text = null, $context = null, $size = null) |
||
67 | } |
||
68 |
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.