| Conditions | 2 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 58 | public function execute() |
||
| 59 | { |
||
| 60 | ob_start(); |
||
| 61 | $result = new Result(); |
||
| 62 | $result->setReturn( |
||
| 63 | call_user_func_array( |
||
| 64 | $this->getCallable(), |
||
| 65 | (is_array($args = $this->getArgs())) ? $args : array($args) |
||
| 66 | ) |
||
| 67 | ); |
||
| 68 | $result->setOutput(ob_get_clean()); |
||
| 69 | $result->setTask($this); |
||
| 70 | |||
| 71 | return $result; |
||
| 72 | } |
||
| 73 | } |
||
| 74 |
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.