| 1 | <?php |
||
| 21 | class NotQuery implements BuilderInterface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var array |
||
| 25 | */ |
||
| 26 | private $query; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param BuilderInterface $query |
||
| 30 | */ |
||
| 31 | public function __construct(BuilderInterface $query) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public function getType() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | public function toArray() |
||
| 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..