Conditions | 1 |
Paths | 1 |
Total Lines | 4 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | public function __construct(array $response) |
||
10 | { |
||
11 | $this->hits = array_get($response, 'inner_hits', []); |
||
1 ignored issue
–
show
|
|||
12 | } |
||
13 | |||
23 | } |
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..