1 | <?php |
||
25 | class DoctrineOptimizeListener implements IterationListener |
||
26 | { |
||
27 | /** |
||
28 | * @var Registry |
||
29 | */ |
||
30 | protected $doctrine; |
||
31 | |||
32 | /** |
||
33 | * @param RegistryInterface $doctrine |
||
34 | */ |
||
35 | public function __construct(RegistryInterface $doctrine) |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | public function iterate(IterateEvent $event) |
||
53 | } |
||
54 |
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..