Completed
Push — master ( 74b394...36090e )
by Scott
04:15
created
models/Product.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.