← All changes
|
vendor_prefixed/guzzlehttp/guzzle/src/Exception/GuzzleException.php
+3
-18
18.1
→
trunk
View file →
| @@ -1,23 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace YoastSEO_Vendor\GuzzleHttp\Exception; |
| 4 | 4 | |
| 5 | -use Throwable; | |
| 6 | -if (\interface_exists(\Throwable::class)) { | |
| 7 | - interface GuzzleException extends \Throwable | |
| 8 | - { | |
| 9 | - } | |
| 10 | -} else { | |
| 11 | - /** | |
| 12 | - * @method string getMessage() | |
| 13 | - * @method \Throwable|null getPrevious() | |
| 14 | - * @method mixed getCode() | |
| 15 | - * @method string getFile() | |
| 16 | - * @method int getLine() | |
| 17 | - * @method array getTrace() | |
| 18 | - * @method string getTraceAsString() | |
| 19 | - */ | |
| 20 | - interface GuzzleException | |
| 21 | - { | |
| 22 | - } | |
| 5 | +use YoastSEO_Vendor\Psr\Http\Client\ClientExceptionInterface; | |
| 6 | +interface GuzzleException extends \YoastSEO_Vendor\Psr\Http\Client\ClientExceptionInterface | |
| 7 | +{ | |
| 23 | 8 | } |