Completed
Push — master ( 50fa90...02ff86 )
by Raza
02:18
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
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
         $this->setApiEnvironment($credentials);
144 144
 
145 145
         // Setting PayPal API Credentials
146
-        collect($credentials[$this->mode])->map(function ($value, $key) {
146
+        collect($credentials[$this->mode])->map(function($value, $key) {
147 147
             $this->config[$key] = $value;
148 148
         });
149 149
 
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
         ], $this->options);
334 334
 
335 335
         $this->post = $this->post->merge($config)
336
-            ->filter(function ($value, $key) use ($method) {
336
+            ->filter(function($value, $key) use ($method) {
337 337
                 return (($method === 'verifyipn') && ($key === 'METHOD')) ?: $value;
338 338
             });
339 339
     }
Please login to merge, or discard this patch.