1 | <?php |
||
12 | class ExpressionFilter implements FilterInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var ExpressionFilter Search expression |
||
16 | */ |
||
17 | private $expression; |
||
18 | |||
19 | /** |
||
20 | * Set search expression |
||
21 | */ |
||
22 | public function __construct(ExpressionInterface $expression) |
||
26 | |||
27 | public function filter(\Traversable $documents): \Generator |
||
35 | } |
||
36 |
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..