Test Failed
Pull Request — master (#184)
by
unknown
06:09
created
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/Console/Commands/LaraStructure.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -112,13 +112,13 @@
 block discarded – undo
112 112
     {
113 113
         // get plural from model name
114 114
         $pluralModel = str_plural($this->model);
115
-         // create container folder
115
+            // create container folder
116 116
         $this->filesystem->makeDirectory(app_path($baseFolder."/{$pluralModel}"));
117
-         // add requests folder
117
+            // add requests folder
118 118
         $this->filesystem->makeDirectory(app_path($baseFolder."/{$pluralModel}/Requests"));
119
-         // add repositories folder
119
+            // add repositories folder
120 120
         $this->filesystem->makeDirectory(app_path($baseFolder."/{$pluralModel}/Repositories/"));
121
-         // add Interfaces folder
121
+            // add Interfaces folder
122 122
         $this->filesystem->makeDirectory(app_path($baseFolder."/{$pluralModel}/Repositories/Interfaces"));
123 123
     }
124 124
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Front/CustomerAddressController.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -141,13 +141,13 @@
 block discarded – undo
141 141
     {
142 142
         $address = $this->addressRepo->findCustomerAddressById($addressId, auth()->user());
143 143
 
144
-       if ($address->orders()->exists()) {
145
-             $address->status=0;
146
-             $address->save();
147
-       }
148
-       else {
149
-             $address->delete();
150
-       }
144
+        if ($address->orders()->exists()) {
145
+                $address->status=0;
146
+                $address->save();
147
+        }
148
+        else {
149
+                $address->delete();
150
+        }
151 151
 
152 152
         return redirect()->route('accounts', ['tab' => 'address'])
153 153
             ->with('message', 'Address delete successful');
Please login to merge, or discard this patch.