@@ -26,6 +26,10 @@ discard block |
||
26 | 26 | |
27 | 27 | private $rawRequest; |
28 | 28 | |
29 | + /** |
|
30 | + * @param string $baseUri |
|
31 | + * @param string $resource |
|
32 | + */ |
|
29 | 33 | public function __construct( |
30 | 34 | $baseUri, |
31 | 35 | $resource, |
@@ -156,6 +160,9 @@ discard block |
||
156 | 160 | return HttpClientDiscovery::find(); |
157 | 161 | } |
158 | 162 | |
163 | + /** |
|
164 | + * @return ResponseInterface |
|
165 | + */ |
|
159 | 166 | private function sendRequest(RequestInterface $request) |
160 | 167 | { |
161 | 168 | $request = $this->authenticate($request); |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * So here we can add directly to client the appropriate authentication |
21 | 21 | * info. |
22 | 22 | * |
23 | - * @param Larium\Pay\Client\Client $client |
|
23 | + * @param RestClient $client |
|
24 | 24 | * @return void |
25 | 25 | */ |
26 | 26 | abstract protected function authenticate(RestClient $client); |