Passed
Push — main ( de43e1...c87d8a )
by Carsten
04:11
created
src/Cart.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      *
80 80
      * @return ItemInterface|bool
81 81
      */
82
-    public function inc(string $itemIdentifier): ItemInterface|bool
82
+    public function inc(string $itemIdentifier): ItemInterface | bool
83 83
     {
84 84
         if ($item = Cart::item($itemIdentifier)) {
85 85
             /** @var ItemInterface $item */
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      *
100 100
      * @return ItemInterface|bool
101 101
      */
102
-    public function dec(string $itemIdentifier): ItemInterface|bool
102
+    public function dec(string $itemIdentifier): ItemInterface | bool
103 103
     {
104 104
         if ($item = Cart::item($itemIdentifier)) {
105 105
             /** @var ItemInterface $item */
Please login to merge, or discard this patch.
src/Identifier/LaravelCookie.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         if (request()?->hasCookie('cart_identifier')) {
22 22
             $cookie = request()?->cookie('cart_identifier');
23 23
 
24
-            if (is_string($cookie) && ! empty($cookie)) {
24
+            if (is_string($cookie) && !empty($cookie)) {
25 25
                 return $cookie;
26 26
             }
27 27
         }
Please login to merge, or discard this patch.