Passed
Push — master ( 6f620d...c9831c )
by Thiago
48s
created
src/Cart.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,11 +10,11 @@
 block discarded – undo
10 10
 {
11 11
     private $id;
12 12
 
13
-    public function __construct(string $id, array $items = [])
13
+    public function __construct(string $id, array $items = [ ])
14 14
     {
15 15
         $this->id = $id;
16 16
         
17
-        array_walk($items, [ $this, 'attach']);
17
+        array_walk($items, [ $this, 'attach' ]);
18 18
     }
19 19
 
20 20
     public function getId(): string
Please login to merge, or discard this patch.