PluginProbe
Media Cloud Sync / 1.4.1
Media Cloud Sync v1.4.1
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 1.2.9 All 35 releases
← All changes | includes/sdk/google/guzzlehttp/guzzle/src/ClientInterface.php +10 -10 1.2.61.4.1 View file →
@@ -1,13 +1,13 @@
1 1 <?php
2 2
3 -namespace Dudlewebs\WPMCS\GuzzleHttp;
3 +namespace Dudlewebs\WPMCS\GCP\GuzzleHttp;
4 4
5 -use Dudlewebs\WPMCS\GuzzleHttp\Exception\GuzzleException;
6 -use Dudlewebs\WPMCS\GuzzleHttp\Promise\PromiseInterface;
7 -use Dudlewebs\WPMCS\Psr\Http\Message\RequestInterface;
8 -use Dudlewebs\WPMCS\Psr\Http\Message\ResponseInterface;
9 -use Dudlewebs\WPMCS\Psr\Http\Message\UriInterface;
5 +use Dudlewebs\WPMCS\GCP\GuzzleHttp\Exception\GuzzleException;
6 +use Dudlewebs\WPMCS\GCP\GuzzleHttp\Promise\PromiseInterface;
7 +use Dudlewebs\WPMCS\GCP\Psr\Http\Message\RequestInterface;
8 +use Dudlewebs\WPMCS\GCP\Psr\Http\Message\ResponseInterface;
9 +use Dudlewebs\WPMCS\GCP\Psr\Http\Message\UriInterface;
10 10 /**
11 11 * Client interface for sending HTTP requests.
12 12 */
13 13 interface ClientInterface
@@ -24,9 +24,9 @@
24 24 * request and to the transfer.
25 25 *
26 26 * @throws GuzzleException
27 27 */
28 - public function send(RequestInterface $request, array $options = []): ResponseInterface;
28 + public function send(RequestInterface $request, array $options = []) : ResponseInterface;
29 29 /**
30 30 * Asynchronously send an HTTP request.
31 31 *
32 32 * @param RequestInterface $request Request to send
@@ -32,9 +32,9 @@
32 32 * @param RequestInterface $request Request to send
33 33 * @param array $options Request options to apply to the given
34 34 * request and to the transfer.
35 35 */
36 - public function sendAsync(RequestInterface $request, array $options = []): PromiseInterface;
36 + public function sendAsync(RequestInterface $request, array $options = []) : PromiseInterface;
37 37 /**
38 38 * Create and send an HTTP request.
39 39 *
40 40 * Use an absolute path to override the base path of the client, or a
@@ -46,9 +46,9 @@
46 46 * @param array $options Request options to apply.
47 47 *
48 48 * @throws GuzzleException
49 49 */
50 - public function request(string $method, $uri, array $options = []): ResponseInterface;
50 + public function request(string $method, $uri, array $options = []) : ResponseInterface;
51 51 /**
52 52 * Create and send an asynchronous HTTP request.
53 53 *
54 54 * Use an absolute path to override the base path of the client, or a
@@ -59,9 +59,9 @@
59 59 * @param string $method HTTP method
60 60 * @param string|UriInterface $uri URI object or string.
61 61 * @param array $options Request options to apply.
62 62 */
63 - public function requestAsync(string $method, $uri, array $options = []): PromiseInterface;
63 + public function requestAsync(string $method, $uri, array $options = []) : PromiseInterface;
64 64 /**
65 65 * Get a client configuration option.
66 66 *
67 67 * These options include default request options of the client, a "handler"