| 1 | <?php |
||
| 11 | class AccessTokenEvent extends Event |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var AccessTokenInterfaceInterface |
||
| 15 | */ |
||
| 16 | protected $accessToken; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * construct. |
||
| 20 | * |
||
| 21 | * @param AccessTokenInterface $accessToken |
||
| 22 | */ |
||
| 23 | 14 | public function __construct(AccessTokenInterface $accessToken) |
|
| 27 | |||
| 28 | /** |
||
| 29 | * return related access token. |
||
| 30 | * |
||
| 31 | * @return AccessTokenInterface |
||
| 32 | */ |
||
| 33 | 2 | public function getAccessToken() |
|
| 37 | } |
||
| 38 |
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..