Passed
Pull Request — master (#419)
by Alexander
02:19
created
src/Collection/Collection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     /**
18 18
      * @param CollectionItemInterface[] $items
19 19
      */
20
-    public function __construct(array $items = [])
20
+    public function __construct(array $items = [ ])
21 21
     {
22 22
         parent::__construct($items);
23 23
     }
@@ -76,9 +76,9 @@  discard block
 block discarded – undo
76 76
      */
77 77
     public function toJson($inner = false)
78 78
     {
79
-        $output = [];
79
+        $output = [ ];
80 80
         foreach ($this as $item) {
81
-            $output[] = $item->toJson(true);
81
+            $output[ ] = $item->toJson(true);
82 82
         }
83 83
 
84 84
         return $inner === false ? json_encode($output) : $output;
Please login to merge, or discard this patch.