| 1 | <?php |
||
| 20 | final class RequestFailed extends \RuntimeException |
||
| 21 | { |
||
| 22 | /** @var Error|null */ |
||
| 23 | private $error; |
||
| 24 | |||
| 25 | 18 | public function getError() : ?Error |
|
| 29 | |||
| 30 | 81 | public static function fromErrorResponse(Response $response) : self |
|
| 43 | |||
| 44 | 6 | public static function unknownSpace(string $spaceName) : self |
|
| 48 | |||
| 49 | 6 | public static function unknownIndex(string $indexName, int $spaceId) : self |
|
| 53 | } |
||
| 54 |
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..