Test Setup Failed
Push — development ( 220a9b...011962 )
by Ashutosh
09:20
created
app/Http/Controllers/User/ClientController.php 2 patches
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -80,18 +80,18 @@  discard block
 block discarded – undo
80 80
                         ->addColumn('first_name', function ($model) {
81 81
                             return '<a href='.url('clients/'.$model->id).'>'.ucfirst($model->first_name).' '.ucfirst($model->last_name).'</a>';
82 82
                         })
83
-                         ->addColumn('email', function ($model) {
84
-                             return $model->email;
85
-                         })
86
-                          ->addColumn('created_at', function ($model) {
87
-                              $ends = $model->created_at;
88
-                              if ($ends) {
89
-                                  $date = date_create($ends);
90
-                                  $end = date_format($date, 'l, F j, Y H:m');
91
-                              }
92
-
93
-                              return $end;
94
-                          })
83
+                            ->addColumn('email', function ($model) {
84
+                                return $model->email;
85
+                            })
86
+                            ->addColumn('created_at', function ($model) {
87
+                                $ends = $model->created_at;
88
+                                if ($ends) {
89
+                                    $date = date_create($ends);
90
+                                    $end = date_format($date, 'l, F j, Y H:m');
91
+                                }
92
+
93
+                                return $end;
94
+                            })
95 95
                         // ->showColumns('email', 'created_at')
96 96
                         ->addColumn('active', function ($model) {
97 97
                             if ($model->active == 1) {
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
      */
264 264
     public function update($id, ClientRequest $request)
265 265
     { 
266
-         $user = $this->user->where('id', $id)->first();
266
+            $user = $this->user->where('id', $id)->first();
267 267
 
268 268
         $user->fill($request->input())->save();
269 269
         return redirect()->back()->with('success', \Lang::get('message.updated-successfully'));
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -262,7 +262,7 @@
 block discarded – undo
262 262
      * @return \Response
263 263
      */
264 264
     public function update($id, ClientRequest $request)
265
-    { 
265
+    {
266 266
          $user = $this->user->where('id', $id)->first();
267 267
 
268 268
         $user->fill($request->input())->save();
Please login to merge, or discard this patch.
app/Http/Controllers/Front/PageController.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -246,7 +246,7 @@
 block discarded – undo
246 246
     }
247 247
 
248 248
     public function transform($type, $data, $trasform = [])
249
-    { 
249
+    {
250 250
         $config = \Config::get("transform.$type");
251 251
         $result = '';
252 252
         $array = [];
Please login to merge, or discard this patch.
app/Http/Controllers/Front/ExtendedBaseCartController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         $renew_control = new \App\Http\Controllers\Order\RenewController();
56 56
         $renew_control->removeSession();
57 57
         Cart::clear();
58
-          return redirect('show/cart');
58
+            return redirect('show/cart');
59 59
     }
60 60
 
61 61
     /**
Please login to merge, or discard this patch.