@@ -65,7 +65,7 @@ |
||
| 65 | 65 | /** |
| 66 | 66 | * Get the services provided by the provider. |
| 67 | 67 | * |
| 68 | - * @return array |
|
| 68 | + * @return string[] |
|
| 69 | 69 | */ |
| 70 | 70 | public function provides() { |
| 71 | 71 | return array('api-proxy.proxy'); |
@@ -27,6 +27,10 @@ discard block |
||
| 27 | 27 | private $cookieManager = null; |
| 28 | 28 | private $useHeader = false; |
| 29 | 29 | |
| 30 | + /** |
|
| 31 | + * @param string $callMode |
|
| 32 | + * @param CookieManager $cookieManager |
|
| 33 | + */ |
|
| 30 | 34 | public function __construct($uri, $method, $clientSecrets, $callMode, $cookieManager) { |
| 31 | 35 | $this->uri = $uri; |
| 32 | 36 | $this->method = $method; |
@@ -136,7 +140,7 @@ discard block |
||
| 136 | 140 | } |
| 137 | 141 | |
| 138 | 142 | /** |
| 139 | - * @param $response |
|
| 143 | + * @param \GuzzleHttp\Message\ResponseInterface $response |
|
| 140 | 144 | * @return mixed |
| 141 | 145 | */ |
| 142 | 146 | private function getResponseContent($response) { |
@@ -155,7 +159,7 @@ discard block |
||
| 155 | 159 | * @param $method |
| 156 | 160 | * @param $uriVal |
| 157 | 161 | * @param $inputs |
| 158 | - * @return \GuzzleHttp\Message\FutureResponse|\GuzzleHttp\Message\ResponseInterface|\GuzzleHttp\Ring\Future\FutureInterface|mixed|null |
|
| 162 | + * @return \GuzzleHttp\Message\ResponseInterface |
|
| 159 | 163 | */ |
| 160 | 164 | private function sendGuzzleRequest($method, $uriVal, $inputs) { |
| 161 | 165 | $options = array(); |