| 1 | <?php |
||
| 9 | class Modal extends AbstractDisplayer |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $renderable; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param int $multiple |
||
|
|
|||
| 18 | * |
||
| 19 | * @return string |
||
| 20 | */ |
||
| 21 | protected function getLoadUrl() |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param \Closure|string $callback |
||
| 30 | * |
||
| 31 | * @return mixed|string |
||
| 32 | */ |
||
| 33 | public function display($callback = null) |
||
| 60 | } |
||
| 61 |
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.