Completed
Push — master ( 812001...457692 )
by Scott
02:20
created
repositories/CartRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 
108 108
         $token = $this->getToken();
109 109
 
110
-        if (! $token) {
110
+        if (!$token) {
111 111
             return $this->create();
112 112
         }
113 113
 
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     public function getToken()
131 131
     {
132 132
         $token = Session::get(self::CART_KEY);
133
-        if (! $token && Cookie::has(self::CART_KEY)) {
133
+        if (!$token && Cookie::has(self::CART_KEY)) {
134 134
             $token = Cookie::get(self::CART_KEY);
135 135
         }
136 136
 
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
     public function loadCart()
146 146
     {
147 147
         $this->getCart()->load([
148
-            'items.inventory.product' => function ($product) {
148
+            'items.inventory.product' => function($product) {
149 149
                 $product->joinPrice()->with('thumbnails');
150 150
             },
151 151
             'items.inventory.optionValues.option',
Please login to merge, or discard this patch.