Completed
Push — master ( 163cff...0352e7 )
by Andreas
02:22
created
src/Client/RestClient.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -26,6 +26,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Gateway/Gateway.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@
 block discarded – undo
182 182
      *                              reason.
183 183
      * @param string $transactionId The unique identifier from transaction.
184 184
      * @param string $errorCode     The error code if transaction was failed.
185
-     * @param string $responsecCode The ISO 8583 response code. Not always
185
+     * @param string $responseCode The ISO 8583 response code. Not always
186 186
      *                              available.
187 187
      * @param array  $payload       An associative array of the response from
188 188
      *                              gateway including http status and headers.
Please login to merge, or discard this patch.
src/Gateway/RestGateway.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.