1 | <?php |
||
10 | class FeedItemBagMapper implements MapperInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var Feed |
||
14 | */ |
||
15 | protected $feed; |
||
16 | |||
17 | /** |
||
18 | * @var \Closure |
||
19 | */ |
||
20 | protected $originalIdCallback; |
||
21 | |||
22 | /** |
||
23 | * @var \Closure |
||
24 | */ |
||
25 | protected $originalUrlCallback; |
||
26 | |||
27 | /** |
||
28 | * @var \Closure |
||
29 | */ |
||
30 | protected $modificationDateCallback; |
||
31 | |||
32 | /** |
||
33 | * @param Feed $feed |
||
34 | * @param callable $originalIdCallback |
||
35 | * @param callable $originalUrlCallback |
||
36 | * @param callable $modificationDateCallback |
||
37 | */ |
||
38 | 2 | public function __construct(Feed $feed, $originalIdCallback, $originalUrlCallback, $modificationDateCallback |
|
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | 2 | public function map(ParameterBag $item) |
|
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..