Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1.0028 |
Changes | 0 |
1 | <?php |
||
38 | 2 | public function __construct(Feed $feed, $originalIdCallback, $originalUrlCallback, $modificationDateCallback |
|
39 | ) { |
||
40 | 2 | $this->feed = $feed; |
|
41 | 2 | $this->originalIdCallback = $originalIdCallback; |
|
|
|||
42 | 2 | $this->originalUrlCallback = $originalUrlCallback; |
|
43 | 2 | $this->modificationDateCallback = $modificationDateCallback; |
|
44 | 2 | } |
|
45 | |||
58 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..