| 1 | <?php |
||
| 11 | class Get extends AbstractOperation |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var array |
||
| 15 | */ |
||
| 16 | private $predicate; |
||
| 17 | /** |
||
| 18 | * @var QueryInterface |
||
| 19 | */ |
||
| 20 | private $query; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param RethinkInterface $rethink |
||
| 24 | * @param MessageInterface $message |
||
| 25 | * @param QueryInterface $query |
||
| 26 | * @param string $documents |
||
| 27 | */ |
||
| 28 | 2 | public function __construct( |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @inheritdoc |
||
| 44 | */ |
||
| 45 | 2 | public function toArray(): array |
|
| 58 | } |
||
| 59 |
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..