Completed
Push — development ( 18978b...4320fe )
by Ashutosh
58:37 queued 48:39
created
app/Plugins/Paypal/Controllers/SettingsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         try {
21 21
             if (!Schema::hasTable('paypal')) {
22
-                Schema::create('paypal', function ($table) {
22
+                Schema::create('paypal', function($table) {
23 23
                     $table->increments('id');
24 24
                     $table->string('business');
25 25
                     $table->string('cmd');
Please login to merge, or discard this patch.
app/Plugins/Paypal/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-\Event::listen('App\Events\PaymentGateway', function ($event) {
3
+\Event::listen('App\Events\PaymentGateway', function($event) {
4 4
     $controller = new App\Plugins\Paypal\Controllers\ProcessController();
5 5
     echo $controller->PassToPayment($event->para);
6 6
 });
Please login to merge, or discard this patch.
app/Box.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      */
51 51
     public function startsWith($letter)
52 52
     {
53
-        return array_filter($this->items, function ($item) use ($letter) {
53
+        return array_filter($this->items, function($item) use ($letter) {
54 54
             return stripos($item, $letter) === 0;
55 55
         });
56 56
     }
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
     protected function mapWebRoutes()
53 53
     {
54 54
         Route::middleware('web')
55
-             ->namespace($this->namespace)
56
-             ->group(base_path('routes/web.php'));
55
+                ->namespace($this->namespace)
56
+                ->group(base_path('routes/web.php'));
57 57
     }
58 58
 
59 59
     /**
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
     protected function mapApiRoutes()
67 67
     {
68 68
         Route::prefix('api')
69
-             ->middleware('api')
70
-             ->namespace($this->namespace)
71
-             ->group(base_path('routes/api.php'));
69
+                ->middleware('api')
70
+                ->namespace($this->namespace)
71
+                ->group(base_path('routes/api.php'));
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
app/Model/Payment/Plan.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         return '';
32 32
 
33 33
         // return "Product  has been {$eventName}";
34
-         // \Auth::user()->activity;
34
+            // \Auth::user()->activity;
35 35
     }
36 36
 
37 37
     public function planPrice()
Please login to merge, or discard this patch.
app/Model/Order/Invoice.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         return '';
38 38
 
39 39
         // return "Product  has been {$eventName}";
40
-         // \Auth::user()->activity;
40
+            // \Auth::user()->activity;
41 41
     }
42 42
 
43 43
     public function invoiceItem()
Please login to merge, or discard this patch.
app/Http/Controllers/RazorpayController.php 3 patches
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,8 @@
 block discarded – undo
54 54
         $api = new Api($rzp_key, $rzp_secret);
55 55
         $payment = $api->payment->fetch($input['razorpay_payment_id']);
56 56
 
57
-        if (count($input) && !empty($input['razorpay_payment_id'])) { //Verify Razorpay Payment Id and Signature
57
+        if (count($input) && !empty($input['razorpay_payment_id'])) {
58
+//Verify Razorpay Payment Id and Signature
58 59
 
59 60
             //Fetch payment information by razorpay_payment_id
60 61
             try {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
         \Cart::clear();
129 129
         $status = 'success';
130 130
         $message = view('themes.default1.front.postPaymentTemplate', compact('invoice','date','orders',
131
-             'invoiceItems', 'state', 'currency'))->render();
131
+                'invoiceItems', 'state', 'currency'))->render();
132 132
 
133 133
         return ['status'=>$status, 'message'=>$message];
134 134
     }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 
128 128
         \Cart::clear();
129 129
         $status = 'success';
130
-        $message = view('themes.default1.front.postPaymentTemplate', compact('invoice','date','orders',
130
+        $message = view('themes.default1.front.postPaymentTemplate', compact('invoice', 'date', 'orders',
131 131
              'invoiceItems', 'state', 'currency'))->render();
132 132
 
133 133
         return ['status'=>$status, 'message'=>$message];
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
         \Cart::clear();
148 148
         $status = 'success';
149 149
 
150
-        $message = view('themes.default1.front.postRenewTemplate', compact('invoice','date','order',
150
+        $message = view('themes.default1.front.postRenewTemplate', compact('invoice', 'date', 'order',
151 151
             'product', 'invoiceItem', 'state', 'currency'))->render();
152 152
 
153 153
         return ['status'=>$status, 'message'=>$message];
Please login to merge, or discard this patch.
app/Model/Payment/PlanPrice.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,6 @@
 block discarded – undo
33 33
         return '';
34 34
 
35 35
         // return "Product  has been {$eventName}";
36
-         // \Auth::user()->activity;
36
+            // \Auth::user()->activity;
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
app/Model/Payment/TaxOption.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     protected $fillable = ['tax_enable', 'inclusive', 'shop_inclusive', 'cart_inclusive', 'rounding', 'Gst_no'];
13 13
     protected static $logName = 'Tax Class';
14 14
     protected static $logAttributes = ['tax_enable', 'inclusive',
15
-     'shop_inclusive', 'cart_inclusive', 'rounding', 'Gst_no', ];
15
+        'shop_inclusive', 'cart_inclusive', 'rounding', 'Gst_no', ];
16 16
     protected static $logOnlyDirty = true;
17 17
 
18 18
     public function getDescriptionForEvent(string $eventName): string
Please login to merge, or discard this patch.