Completed
Push — master ( e65131...330da9 )
by Raza
02:04
created
src/Traits/PayPalRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 
121 121
         if ($this instanceof \Srmklive\PayPal\Services\AdaptivePayments) {
122 122
             $this->setAdaptivePaymentsOptions($mode);
123
-        } elseif($this instanceof \Srmklive\PayPal\Services\ExpressCheckout) {
123
+        } elseif ($this instanceof \Srmklive\PayPal\Services\ExpressCheckout) {
124 124
             $this->setExpressCheckoutOptions($credentials, $mode);
125 125
         } else {
126 126
             throw new \Exception("Invalid api credentials provided for PayPal!. Please provide the right api credentials.");            
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
 
273 273
         // Checking Whether The Request Is PayPal IPN Response
274 274
         if ($method == 'verifyipn') {
275
-            $this->post = $this->post->filter(function ($value, $key) {
275
+            $this->post = $this->post->filter(function($value, $key) {
276 276
                 if ($key !== 'METHOD') {
277 277
                     return $value;
278 278
                 }
Please login to merge, or discard this patch.