| 1 | <?php |
||
| 7 | final class BunqException extends \Exception |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var ClientException |
||
| 11 | */ |
||
| 12 | private $exception; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var array |
||
| 16 | */ |
||
| 17 | private $responseArray; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param ClientException $exception |
||
| 21 | */ |
||
| 22 | public function __construct(ClientException $exception) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return ClientException |
||
| 36 | */ |
||
| 37 | public function getClientException() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return array |
||
| 44 | */ |
||
| 45 | public function getResponseArray() |
||
| 49 | } |
||
| 50 |
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..