← All changes
|
includes/sdk/s3/GuzzleHttp/Exception/GuzzleException.php
+3
-18
1.2.9
→
1.4.1
View file →
| @@ -1,23 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace Dudlewebs\WPMCS\s3\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 Dudlewebs\WPMCS\s3\Psr\Http\Client\ClientExceptionInterface; | |
| 6 | +interface GuzzleException extends ClientExceptionInterface | |
| 7 | +{ | |
| 23 | 8 | } |