Passed
Push — master ( 3fc932...f1f98d )
by Matthijs
06:22
created
app/Http/Controllers/Frontend/CheckoutController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
                     'paymentMethodsList' => $paymentMethodsList));
63 63
             }
64 64
               
65
-             return view('frontend.checkout.login')->with(array(  'sendingMethodsList' => $sendingMethodsList, 'paymentMethodsList' => $paymentMethodsList));
65
+                return view('frontend.checkout.login')->with(array(  'sendingMethodsList' => $sendingMethodsList, 'paymentMethodsList' => $paymentMethodsList));
66 66
         }
67 67
 
68 68
         $user = auth('web')->user();
Please login to merge, or discard this patch.
app/Http/Controllers/Backend/ClientOrderController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
             ->addColumn('status', function ($order) {
48 48
                 if ($order->orderStatus) {
49
-                     return $order->orderStatus->title;
49
+                        return $order->orderStatus->title;
50 50
                 }
51 51
             })
52 52
 
Please login to merge, or discard this patch.
app/Http/Controllers/Backend/ProductExtraFieldValueController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,6 +47,6 @@
 block discarded – undo
47 47
     public function store($productId, Request $request)
48 48
     {
49 49
         $result  = ProductExtraFieldValueService::create($request->all(), $productId);
50
-         return ProductExtraFieldValueService::notificationRedirect(array('product.product-extra-field-value.index', $productId), $result, 'The product extra fields are updated.');
50
+            return ProductExtraFieldValueService::notificationRedirect(array('product.product-extra-field-value.index', $productId), $result, 'The product extra fields are updated.');
51 51
     }
52 52
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Backend/OrderController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -259,9 +259,9 @@
 block discarded – undo
259 259
     {
260 260
         $order = OrderService::find($orderId);
261 261
         if($order->orderLabel()->count()) {
262
-          header("Content-type: application/octet-stream");
263
-          header("Content-disposition: attachment;filename=label.pdf");
264
-          echo $order->orderLabel->data;
262
+            header("Content-type: application/octet-stream");
263
+            header("Content-disposition: attachment;filename=label.pdf");
264
+            echo $order->orderLabel->data;
265 265
         }
266 266
     }
267 267
 
Please login to merge, or discard this patch.
app/Http/Controllers/Backend/ProductController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
                     function ($query) use ($keyword) {
69 69
                         $query->whereRaw("product.title like ?", ["%{$keyword}%"]);
70 70
                         $query->orWhereRaw("product.reference_code like ?", ["%{$keyword}%"]);
71
-                             $query->orWhereRaw("brand.title like ?", ["%{$keyword}%"]);
71
+                                $query->orWhereRaw("brand.title like ?", ["%{$keyword}%"]);
72 72
                         ;
73 73
                     }
74 74
                 );
Please login to merge, or discard this patch.
app/Http/Controllers/Backend/ClientAddressController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
             })
49 49
             ->addColumn('bill', function ($addresses) {
50 50
                 if ($addresses->clientBillAddress()->count()) {
51
-                          return '<span class="glyphicon glyphicon-ok icon-green"></span>';
51
+                            return '<span class="glyphicon glyphicon-ok icon-green"></span>';
52 52
                 }
53 53
 
54 54
                 return '<span class="glyphicon glyphicon-remove icon-red"></span>';
Please login to merge, or discard this patch.
app/Http/Controllers/Backend/ProductImageController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,8 +95,8 @@
 block discarded – undo
95 95
                 foreach ($newProductAttributes as $key => $productAttribute) {
96 96
                     $newArray = array();
97 97
                     foreach ($productAttribute as $keyNew => $valueNew) {
98
-                         $newArray[] = $keyNew.': '.$valueNew['value'];
99
-                         $attributesList[$valueNew['id']] = $valueNew['value'];
98
+                            $newArray[] = $keyNew.': '.$valueNew['value'];
99
+                            $attributesList[$valueNew['id']] = $valueNew['value'];
100 100
                     }
101 101
                     $productAttributesList[$key] = implode(', ', $newArray);
102 102
                 }
Please login to merge, or discard this patch.