Completed
Push — master ( 8b1c68...7c567b )
by Raza
02:11
created
src/Traits/PayPalRequest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -393,7 +393,7 @@
 block discarded – undo
393 393
      * Parse PayPal NVP Response.
394 394
      *
395 395
      * @param string $method
396
-     * @param mixed  $response
396
+     * @param \Psr\Http\Message\StreamInterface  $response
397 397
      *
398 398
      * @return array
399 399
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     private function setApiProviderConfiguration($credentials)
190 190
     {
191 191
         // Setting PayPal API Credentials
192
-        collect($credentials[$this->mode])->map(function ($value, $key) {
192
+        collect($credentials[$this->mode])->map(function($value, $key) {
193 193
             $this->config[$key] = $value;
194 194
         });
195 195
 
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
         ], $this->options);
345 345
 
346 346
         $this->post = $this->post->merge($config)
347
-            ->filter(function ($value, $key) use ($method) {
347
+            ->filter(function($value, $key) use ($method) {
348 348
                 return (($method === 'verifyipn') && ($key === 'METHOD')) ?: $value;
349 349
             });
350 350
     }
Please login to merge, or discard this patch.