| 1 | <?php |
||
| 21 | final class DqlQuery implements QueryInterface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var Query |
||
| 25 | */ |
||
| 26 | private $filters; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var int |
||
| 30 | */ |
||
| 31 | private $hydrationMode = AbstractQuery::HYDRATE_OBJECT; |
||
| 32 | |||
| 33 | public function __construct(array $filters) |
||
| 37 | |||
| 38 | public function getFilters(): array |
||
| 42 | |||
| 43 | public function setHydrationMode(int $hydrationMode): void |
||
| 47 | |||
| 48 | public function getHydrationMode(): int |
||
| 52 | } |
||
| 53 |
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..