1 | <?php |
||
7 | class Query |
||
8 | { |
||
9 | /** |
||
10 | * The connection instance. |
||
11 | * |
||
12 | * @var Connection |
||
13 | */ |
||
14 | protected $connection; |
||
15 | |||
16 | /** |
||
17 | * The \r\ValuedQuery instance. |
||
18 | * |
||
19 | * @var \r\ValuedQuery |
||
20 | */ |
||
21 | protected $query; |
||
22 | |||
23 | /** |
||
24 | * Constructor. |
||
25 | * |
||
26 | * @param Connection $connection |
||
27 | */ |
||
28 | public function __construct(Connection $connection) |
||
33 | |||
34 | /** |
||
35 | * Handle dynamic method calls. |
||
36 | * |
||
37 | * @param string $method |
||
38 | * @param array $parameters |
||
39 | * |
||
40 | * @return mixed |
||
41 | */ |
||
42 | public function __call($method, $parameters) |
||
56 | |||
57 | public function run($query = null) |
||
71 | |||
72 | private function nativeArray($val) |
||
86 | } |
||
87 |
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..