| 1 | <?php |
||
| 11 | class StackExchangeResourceOwner implements ResourceOwnerInterface |
||
| 12 | { |
||
| 13 | use ArrayAccessorTrait; |
||
| 14 | |||
| 15 | 1 | public function __construct(array $response = []) |
|
| 19 | |||
| 20 | /** |
||
| 21 | * @return array |
||
| 22 | */ |
||
| 23 | 1 | public function getId() |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @return array |
||
| 37 | */ |
||
| 38 | 1 | public function toArray() |
|
| 42 | |||
| 43 | /** |
||
| 44 | * @var array |
||
| 45 | */ |
||
| 46 | protected $items = []; |
||
| 47 | } |
||
| 48 |
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..