@@ -260,7 +260,7 @@ discard block |
||
| 260 | 260 | */ |
| 261 | 261 | public static function syncAllInheritedCategories() |
| 262 | 262 | { |
| 263 | - Queue::push(function ($job) { |
|
| 263 | + Queue::push(function($job) { |
|
| 264 | 264 | $data = []; |
| 265 | 265 | $products = Product::with('categories')->get(); |
| 266 | 266 | $categoryTree = Category::getParentCategoryIds(); |
@@ -317,8 +317,8 @@ discard block |
||
| 317 | 317 | |
| 318 | 318 | public function validateOptions() |
| 319 | 319 | { |
| 320 | - if (! is_array($this->optionsInventories) || |
|
| 321 | - ! is_array($this->optionsInventories['options'])) { |
|
| 320 | + if (!is_array($this->optionsInventories) || |
|
| 321 | + !is_array($this->optionsInventories['options'])) { |
|
| 322 | 322 | return; |
| 323 | 323 | } |
| 324 | 324 | |