Completed
Push — master ( fd7c36...49f0d1 )
by Luke
02:28
created
src/Traits/CartOptionsMagicMethodsTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
                 }
63 63
                 break;
64 64
             case CartItem::ITEM_TAXABLE:
65
-                if(!is_bool($value)) {
65
+                if (!is_bool($value)) {
66 66
                     throw new InvalidTaxableValue('The taxable option must be a boolean');
67 67
                 }
68 68
                 break;
Please login to merge, or discard this patch.
src/CartItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@
 block discarded – undo
291 291
 
292 292
         $itemModel->with($this->itemModelRelations)->find($this->id);
293 293
 
294
-        if(empty($itemModel)) {
294
+        if (empty($itemModel)) {
295 295
             throw new ModelNotFound('Could not find the item model for '.$this->id);
296 296
         }
297 297
 
Please login to merge, or discard this patch.