@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * AdnxStrategy constructor. |
| 27 | 27 | * |
| 28 | 28 | * @param ClientInterface $clientInterface |
| 29 | - * @param Cache|null $cache |
|
| 29 | + * @param Cache $cache |
|
| 30 | 30 | */ |
| 31 | 31 | public function __construct(ClientInterface $clientInterface, Cache $cache) |
| 32 | 32 | { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * AdnxStrategy constructor. |
| 27 | 27 | * |
| 28 | 28 | * @param ClientInterface $clientInterface |
| 29 | - * @param Cache|null $cache |
|
| 29 | + * @param Cache $cache |
|
| 30 | 30 | */ |
| 31 | 31 | public function __construct(ClientInterface $clientInterface, Cache $cache) |
| 32 | 32 | { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * AdnxStrategy constructor. |
| 27 | 27 | * |
| 28 | 28 | * @param ClientInterface $clientInterface |
| 29 | - * @param Cache|null $cache |
|
| 29 | + * @param Cache $cache |
|
| 30 | 30 | */ |
| 31 | 31 | public function __construct(ClientInterface $clientInterface, Cache $cache) |
| 32 | 32 | { |
@@ -57,10 +57,10 @@ |
||
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | 59 | * @param string $method |
| 60 | - * @param null $uri |
|
| 60 | + * @param string $uri |
|
| 61 | 61 | * @param array $options |
| 62 | 62 | * |
| 63 | - * @return mixed|\Psr\Http\Message\ResponseInterface |
|
| 63 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 64 | 64 | * @throws \Exception |
| 65 | 65 | */ |
| 66 | 66 | public function request($method, $uri = null, array $options = []) |