@@ -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 --', |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | * Show the current cart. |
| 28 | 28 | * |
| 29 | 29 | * @param \Bedard\Shop\Repositories\CartRepository $repository |
| 30 | - * @return \Bedard\Shop\Models\Cart |
|
| 30 | + * @return string|null |
|
| 31 | 31 | */ |
| 32 | 32 | public function index(CartRepository $repository) |
| 33 | 33 | { |