Conditions | 3 |
Paths | 4 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 1 | Features | 1 |
1 | <?php namespace Mascame\Artificer\Model; |
||
25 | public function __construct(array $attributes = array()) |
||
26 | { |
||
27 | if (self::$fakeTable) { |
||
28 | $this->table = self::$fakeTable; |
||
29 | } |
||
30 | if (self::$fakePrimaryKey) { |
||
31 | $this->primaryKey = self::$fakePrimaryKey; |
||
32 | } |
||
33 | |||
34 | parent::__construct($attributes); |
||
35 | } |
||
36 | |||
65 | } |
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.