1 | <?php |
||
8 | class Exception extends BaseException |
||
9 | { |
||
10 | /** |
||
11 | * Response body |
||
12 | * |
||
13 | * @var object |
||
14 | */ |
||
15 | protected $responseBody; |
||
16 | |||
17 | /** |
||
18 | * Creates local exception from http client exception, which attempts to |
||
19 | * include response body. |
||
20 | * |
||
21 | * @param ClientExceptionInterface $clientException |
||
22 | * |
||
23 | * @return Exceptions\Exception |
||
24 | */ |
||
25 | public static function fromClientException(ClientExceptionInterface $clientException) |
||
51 | |||
52 | /** |
||
53 | * Retrieves the response body property of exception. |
||
54 | * |
||
55 | * @return object |
||
56 | */ |
||
57 | public function getResponseBody() |
||
61 | |||
62 | /** |
||
63 | * Updates the response body property of exception. |
||
64 | * |
||
65 | * @param object |
||
66 | * |
||
67 | * @return Exception |
||
68 | */ |
||
69 | public function setResponseBody($responseBody) |
||
75 | } |
||
76 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.