| 1 | <?php |
||
| 24 | class Cardwall_SwimlineTrackerRenderer extends Cardwall_Swimline{ |
||
| 25 | const FAKE_SWIMLINE_ID_FOR_TRACKER_RENDERER = 'FAKE_SWIMLINE_ID_FOR_TRACKER_RENDERER'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var int |
||
| 29 | */ |
||
| 30 | public $swimline_id = self::FAKE_SWIMLINE_ID_FOR_TRACKER_RENDERER; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param string $title |
||
|
|
|||
| 34 | * @param array $cells |
||
| 35 | */ |
||
| 36 | public function __construct(array $cells) { |
||
| 39 | |||
| 40 | public function getCardPresenter() { |
||
| 43 | } |
||
| 44 | ?> |
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.