Conditions | 1 |
Paths | 1 |
Total Lines | 3 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
18 | 3 | public function __construct(array $dataset = array(), $length = NULL) { |
|
1 ignored issue
–
show
|
|||
19 | 3 | parent::__construct($dataset, $length); |
|
20 | 3 | } |
|
21 | |||
79 |
This check looks for
@param
annotations where the type inferred by our type inference engine differs from the declared type.It makes a suggestion as to what type it considers more descriptive.
Most often this is a case of a parameter that can be null in addition to its declared types.