Passed
Push — master ( f4b030...a2b3af )
by Matthijs
22:06 queued 15:53
created
app/Http/Controllers/Backend/ProductImageController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 {
19 19
     public function index(Request $request, $productId)
20 20
     {
21
-           $product = ProductService::find($productId);
21
+            $product = ProductService::find($productId);
22 22
         if ($request->wantsJson()) {
23 23
 
24 24
             $query = ProductService::getImageModel()->where('product_id', '=', $productId);
@@ -96,8 +96,8 @@  discard block
 block discarded – undo
96 96
                 foreach ($newProductAttributes as $key => $productAttribute) {
97 97
                     $newArray = array();
98 98
                     foreach ($productAttribute as $keyNew => $valueNew) {
99
-                         $newArray[] = $keyNew.': '.$valueNew['value'];
100
-                         $attributesList[$valueNew['id']] = $valueNew['value'];
99
+                            $newArray[] = $keyNew.': '.$valueNew['value'];
100
+                            $attributesList[$valueNew['id']] = $valueNew['value'];
101 101
                     }
102 102
                     $productAttributesList[$key] = implode(', ', $newArray);
103 103
                 }
Please login to merge, or discard this patch.