1 | <?php |
||
24 | class Cardwall_Swimline { |
||
25 | |||
26 | /** |
||
27 | * @var Cardwall_CardInCellPresenter |
||
28 | */ |
||
29 | private $card_in_cell_presenter; |
||
30 | |||
31 | /** |
||
32 | * @var array |
||
33 | */ |
||
34 | public $cells = array(); |
||
35 | |||
36 | /** |
||
37 | * @var int |
||
38 | */ |
||
39 | public $swimline_id; |
||
40 | |||
41 | /** |
||
42 | * @var bool |
||
43 | */ |
||
44 | public $is_no_matching_column = false; |
||
45 | |||
46 | /** |
||
47 | * @param string $title |
||
|
|||
48 | * @param array $cells |
||
49 | */ |
||
50 | public function __construct(Cardwall_CardInCellPresenter $swimline_artifact_presenter, array $cells) { |
||
51 | $this->cells = $cells; |
||
52 | $this->card_in_cell_presenter = $swimline_artifact_presenter; |
||
53 | $this->swimline_id = $swimline_artifact_presenter->getId(); |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * @return Tracker_CardPresenter |
||
58 | */ |
||
59 | public function getCardPresenter() { |
||
62 | |||
63 | /** |
||
64 | * |
||
65 | * @return Cardwall_CardInCellPresenter |
||
66 | */ |
||
67 | public function getCardInCellPresenter() { |
||
70 | |||
71 | public function stack_cards_title() { |
||
74 | |||
75 | public function expand_cards_title() { |
||
78 | |||
79 | public function getCells() { |
||
82 | } |
||
83 | ?> |
||
84 |
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
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.