| 1 | <?php |
||
| 7 | class GetHumanCount |
||
| 8 | { |
||
| 9 | /* |
||
| 10 | * Get the second item from the collection. |
||
| 11 | * |
||
| 12 | * @param mixed $index |
||
|
|
|||
| 13 | * |
||
| 14 | * @return mixed |
||
| 15 | */ |
||
| 16 | public function second() |
||
| 22 | |||
| 23 | /* |
||
| 24 | * Get the third item from the collection. |
||
| 25 | * |
||
| 26 | * @param mixed $index |
||
| 27 | * |
||
| 28 | * @return mixed |
||
| 29 | */ |
||
| 30 | public function third() |
||
| 36 | |||
| 37 | /* |
||
| 38 | * Get the fourth item from the collection. |
||
| 39 | * |
||
| 40 | * @param mixed $index |
||
| 41 | * |
||
| 42 | * @return mixed |
||
| 43 | */ |
||
| 44 | public function fourth() |
||
| 50 | |||
| 51 | /* |
||
| 52 | * Get the fifth item from the collection. |
||
| 53 | * |
||
| 54 | * @param mixed $index |
||
| 55 | * |
||
| 56 | * @return mixed |
||
| 57 | */ |
||
| 58 | public function fifth() |
||
| 64 | |||
| 65 | /* |
||
| 66 | * Get the sixth item from the collection. |
||
| 67 | * |
||
| 68 | * @param mixed $index |
||
| 69 | * |
||
| 70 | * @return mixed |
||
| 71 | */ |
||
| 72 | public function sixth() |
||
| 78 | |||
| 79 | /* |
||
| 80 | * Get the seventh item from the collection. |
||
| 81 | * |
||
| 82 | * @param mixed $index |
||
| 83 | * |
||
| 84 | * @return mixed |
||
| 85 | */ |
||
| 86 | public function seventh() |
||
| 92 | |||
| 93 | /* |
||
| 94 | * Get the eighth item from the collection. |
||
| 95 | * |
||
| 96 | * @param mixed $index |
||
| 97 | * |
||
| 98 | * @return mixed |
||
| 99 | */ |
||
| 100 | public function eighth() |
||
| 106 | |||
| 107 | /* |
||
| 108 | * Get the ninth item from the collection. |
||
| 109 | * |
||
| 110 | * @param mixed $index |
||
| 111 | * |
||
| 112 | * @return mixed |
||
| 113 | */ |
||
| 114 | public function ninth() |
||
| 120 | |||
| 121 | /* |
||
| 122 | * Get the tenth item from the collection. |
||
| 123 | * |
||
| 124 | * @param mixed $index |
||
| 125 | * |
||
| 126 | * @return mixed |
||
| 127 | */ |
||
| 128 | public function tenth() |
||
| 134 | } |
||
| 135 |
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
$italyis not defined by the methodfinale(...).The most likely cause is that the parameter was removed, but the annotation was not.