@@ -47,7 +47,7 @@ |
||
| 47 | 47 | |
| 48 | 48 | protected function seedOptionsAndInventories() |
| 49 | 49 | { |
| 50 | - Product::all()->each(function ($product) { |
|
| 50 | + Product::all()->each(function($product) { |
|
| 51 | 51 | $option = Factory::create(new Option, [ |
| 52 | 52 | 'name' => 'Size', |
| 53 | 53 | 'placeholder' => '-- select size --', |
@@ -85,11 +85,11 @@ |
||
| 85 | 85 | { |
| 86 | 86 | $token = Session::get(self::CART_KEY); |
| 87 | 87 | |
| 88 | - if (! $token && Cookie::has(self::CART_KEY)) { |
|
| 88 | + if (!$token && Cookie::has(self::CART_KEY)) { |
|
| 89 | 89 | $token = Cookie::get(self::CART_KEY); |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | - if (! $token) { |
|
| 92 | + if (!$token) { |
|
| 93 | 93 | return $this->create(); |
| 94 | 94 | } |
| 95 | 95 | |