@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | |
24 | 24 | |
25 | 25 | $storageImagePath = "/files/product/"; |
26 | - $publicImagePath = public_path() .config('hideyo.public_path'). "/product/"; |
|
26 | + $publicImagePath = public_path().config('hideyo.public_path')."/product/"; |
|
27 | 27 | |
28 | 28 | |
29 | 29 | $productCategory = ProductCategory::where('title', '=', 'Pants')->first(); |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | $product2->product_category_id = $productCategory->id; |
133 | 133 | $product2->tax_rate_id = $taxRate->id; |
134 | 134 | |
135 | - if (! $product2->save()) { |
|
135 | + if (!$product2->save()) { |
|
136 | 136 | \Log::info('Unable to create product '.$product2->title, (array)$product2->errors()); |
137 | 137 | } else { |
138 | 138 | \Log::info('Created product "'.$product2->title.'" <'.$product2->title.'>'); |