| 1 | <?php |
||
| 18 | class InvalidLoopHelperOptionException extends InvalidArgumentException implements ExceptionInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @param string $message |
||
|
|
|||
| 22 | * @param int $code |
||
| 23 | * @param Exception $previous |
||
| 24 | */ |
||
| 25 | public function __construct($option, array $spec, $code = null, Exception $previous = null) |
||
| 30 | } |
||
| 31 |
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.