PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
← All changes | includes/sdk/google/guzzlehttp/guzzle/src/Exception/BadResponseException.php +5 -5 1.0.0 → 1.4.2 View file →
@@ -1,10 +1,10 @@
1 1 <?php
2 2
3 -namespace Dudlewebs\WPMCS\GuzzleHttp\Exception;
3 +namespace Dudlewebs\WPMCS\GCP\GuzzleHttp\Exception;
4 4
5 -use Dudlewebs\WPMCS\Psr\Http\Message\RequestInterface;
6 -use Dudlewebs\WPMCS\Psr\Http\Message\ResponseInterface;
5 +use Dudlewebs\WPMCS\GCP\Psr\Http\Message\RequestInterface;
6 +use Dudlewebs\WPMCS\GCP\Psr\Http\Message\ResponseInterface;
7 7 /**
8 8 * Exception when an HTTP error occurs (4xx or 5xx error)
9 9 */
10 10 class BadResponseException extends RequestException
@@ -15,9 +15,9 @@
15 15 }
16 16 /**
17 17 * Current exception and the ones that extend it will always have a response.
18 18 */
19 - public function hasResponse(): bool
19 + public function hasResponse() : bool
20 20 {
21 21 return \true;
22 22 }
23 23 /**
@@ -22,9 +22,9 @@
22 22 }
23 23 /**
24 24 * This function narrows the return type from the parent class and does not allow it to be nullable.
25 25 */
26 - public function getResponse(): ResponseInterface
26 + public function getResponse() : ResponseInterface
27 27 {
28 28 /** @var ResponseInterface */
29 29 return parent::getResponse();
30 30 }