Completed
Push — master ( c51e97...557cd7 )
by Raza
04:32 queued 02:11
created
src/Providers/PayPalServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,11 +55,11 @@
 block discarded – undo
55 55
      */
56 56
     private function registerPayPal()
57 57
     {
58
-        $this->app->singleton('express_checkout', function () {
58
+        $this->app->singleton('express_checkout', function() {
59 59
             return new ExpressCheckout();
60 60
         });
61 61
 
62
-        $this->app->singleton('adaptive_payments', function () {
62
+        $this->app->singleton('adaptive_payments', function() {
63 63
             return new AdaptivePayments();
64 64
         });
65 65
     }
Please login to merge, or discard this patch.
src/Traits/PayPalRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -288,7 +288,7 @@
 block discarded – undo
288 288
 
289 289
         // Checking Whether The Request Is PayPal IPN Response
290 290
         if ($method == 'verifyipn') {
291
-            $this->post = $this->post->filter(function ($value, $key) {
291
+            $this->post = $this->post->filter(function($value, $key) {
292 292
                 if ($key !== 'METHOD') {
293 293
                     return $value;
294 294
                 }
Please login to merge, or discard this patch.
src/Services/ExpressCheckout.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,13 +50,13 @@
 block discarded – undo
50 50
 
51 51
     protected function setCartItems($items)
52 52
     {
53
-        return (new Collection($items))->map(function ($item, $num) {
53
+        return (new Collection($items))->map(function($item, $num) {
54 54
             return [
55 55
                 'L_PAYMENTREQUEST_0_NAME'.$num  => $item['name'],
56 56
                 'L_PAYMENTREQUEST_0_AMT'.$num   => $item['price'],
57 57
                 'L_PAYMENTREQUEST_0_QTY'.$num   => $item['qty'],
58 58
             ];
59
-        })->flatMap(function ($value) {
59
+        })->flatMap(function($value) {
60 60
             return $value;
61 61
         });
62 62
     }
Please login to merge, or discard this patch.