@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | Option::find($option['id'])->delete(); |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | - return ! $option['is_deleted']; |
|
| 138 | + return !$option['is_deleted']; |
|
| 139 | 139 | }); |
| 140 | 140 | } |
| 141 | 141 | |
@@ -279,7 +279,7 @@ discard block |
||
| 279 | 279 | */ |
| 280 | 280 | public static function syncAllInheritedCategories() |
| 281 | 281 | { |
| 282 | - Queue::push(function ($job) { |
|
| 282 | + Queue::push(function($job) { |
|
| 283 | 283 | $data = []; |
| 284 | 284 | $products = Product::with('categories')->get(); |
| 285 | 285 | $categoryTree = Category::getParentCategoryIds(); |
@@ -336,8 +336,8 @@ discard block |
||
| 336 | 336 | |
| 337 | 337 | public function validateOptions() |
| 338 | 338 | { |
| 339 | - if (! is_array($this->optionsInventories) || |
|
| 340 | - ! is_array($this->optionsInventories['options'])) { |
|
| 339 | + if (!is_array($this->optionsInventories) || |
|
| 340 | + !is_array($this->optionsInventories['options'])) { |
|
| 341 | 341 | return; |
| 342 | 342 | } |
| 343 | 343 | |