@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | /** |
70 | 70 | * let us keep reference to our client. |
71 | 71 | * |
72 | - * @return mixed |
|
72 | + * @return Client |
|
73 | 73 | */ |
74 | 74 | public function getClient() { |
75 | 75 | return $this->client; |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | * |
233 | 233 | * @param $client |
234 | 234 | * |
235 | - * @return Client |
|
235 | + * @return Pool |
|
236 | 236 | */ |
237 | 237 | public function setClient( Client $client ) { |
238 | 238 | $this->client = $client; |
@@ -7,11 +7,11 @@ |
||
7 | 7 | */ |
8 | 8 | namespace BureauVa\WordpressGuzzle; |
9 | 9 | |
10 | -use Guzzle\Http\Message\Response; |
|
11 | -use GuzzleHttp\Promise\Promise; |
|
10 | +use Cache\Adapter\Common\AbstractCachePool; |
|
12 | 11 | use GuzzleHttp\Client; |
13 | 12 | use GuzzleHttp\Exception\RequestException; |
14 | -use Cache\Adapter\Common\AbstractCachePool; |
|
13 | +use GuzzleHttp\Promise\Promise; |
|
14 | +use Guzzle\Http\Message\Response; |
|
15 | 15 | |
16 | 16 | /** |
17 | 17 | * Class Pool. |
@@ -95,7 +95,6 @@ |
||
95 | 95 | /** |
96 | 96 | * Checks if there is any cache data for query. |
97 | 97 | * |
98 | - * @param CachePool $cachePool |
|
99 | 98 | */ |
100 | 99 | public function getCacheKey() |
101 | 100 | { |