@@ -36,8 +36,7 @@ |
||
| 36 | 36 | private $cache; |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | - * @param Client $client The http client |
|
| 40 | - * @param Cache $cache The Doctrine Cache interface |
|
| 39 | + * @param RestClient $client The http client |
|
| 41 | 40 | */ |
| 42 | 41 | public function __construct(RestClient $client) |
| 43 | 42 | { |
@@ -88,9 +88,10 @@ |
||
| 88 | 88 | /** |
| 89 | 89 | * Sends the API request if cache not hit |
| 90 | 90 | * |
| 91 | - * @param RequestInterface $request |
|
| 92 | 91 | * @param string $cacheKey |
| 93 | 92 | * @param integer $ttl |
| 93 | + * @param string $method |
|
| 94 | + * @param string $uri |
|
| 94 | 95 | * |
| 95 | 96 | * @throws NotEnoughCreditsException |
| 96 | 97 | * |