Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1.0233 |
Changes | 0 |
1 | <?php |
||
49 | 2 | public function map(ParameterBag $item) |
|
50 | { |
||
51 | 2 | $bag = new FeedItemBag($this->feed, call_user_func($this->originalIdCallback, $item), $item->all()); |
|
52 | 2 | $bag->setOriginalUrl(call_user_func($this->originalUrlCallback, $item)); |
|
53 | 2 | $bag->setDatetimeModified(call_user_func($this->modificationDateCallback, $item)); |
|
54 | |||
55 | 2 | return $bag; |
|
56 | } |
||
57 | } |
||
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..