| 1 | <?php |
||
| 6 | class Response implements ResponseInterface |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var ResponseInterface |
||
| 10 | */ |
||
| 11 | protected $response; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var array |
||
| 15 | */ |
||
| 16 | protected $keywords = []; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var array | null |
||
| 20 | */ |
||
| 21 | protected $decodedRaw = null; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var array |
||
| 25 | */ |
||
| 26 | protected $queries = []; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * KeywordsResponse constructor. |
||
| 30 | * |
||
| 31 | * @param PsrResponseInterface $response |
||
| 32 | */ |
||
| 33 | public function __construct(PsrResponseInterface $response) |
||
| 37 | |||
| 38 | protected function initKeywordsData() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * @return array |
||
| 72 | */ |
||
| 73 | public function getKeywords() |
||
| 78 | } |
||
| 79 |
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..