Completed
Push — master ( 96b974...e2aed3 )
by Scott
02:47
created
updates/dev_seeds.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
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 --',
Please login to merge, or discard this patch.
api/Cart.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      * Determine if a cart exists or not.
28 28
      *
29 29
      * @param  CartRepository $repository
30
-     * @return bool
30
+     * @return string|null
31 31
      */
32 32
     public function exists(CartRepository $repository)
33 33
     {
Please login to merge, or discard this patch.
repositories/CartRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
 
105 105
         $token = $this->getToken();
106 106
 
107
-        if (! $token) {
107
+        if (!$token) {
108 108
             return $this->create();
109 109
         }
110 110
 
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     public function getToken()
124 124
     {
125 125
         $token = Session::get(self::CART_KEY);
126
-        if (! $token && Cookie::has(self::CART_KEY)) {
126
+        if (!$token && Cookie::has(self::CART_KEY)) {
127 127
             $token = Cookie::get(self::CART_KEY);
128 128
         }
129 129
 
Please login to merge, or discard this patch.