Completed
Push — master ( 17152c...89f64c )
by Scott
02:25
created
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.