Passed
Push — master ( bfe50d...02a208 )
by oxidmod
09:18 queued 02:10
created
Category
src/SimpleCollection/AbstractCollection.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -7,14 +7,14 @@  discard block
 block discarded – undo
7 7
 {
8 8
     protected static \Closure $typeChecker;
9 9
 
10
-    protected array $items = [];
10
+    protected array $items=[];
11 11
 
12
-    public function __construct(array $items = [])
12
+    public function __construct(array $items=[])
13 13
     {
14
-        $typeChecker = static::getTypeChecker();
14
+        $typeChecker=static::getTypeChecker();
15 15
         foreach ($items as $k => $v) {
16 16
             $this->assertType($v, $typeChecker);
17
-            $this->items[$k] = $v;
17
+            $this->items[$k]=$v;
18 18
         }
19 19
     }
20 20
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     {
33 33
         $this->assertType($value, static::getTypeChecker());
34 34
 
35
-        $this->items[$offset] = $value;
35
+        $this->items[$offset]=$value;
36 36
     }
37 37
 
38 38
     public function offsetUnset($offset): void
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     protected static function getTypeChecker(): \Closure
60 60
     {
61 61
         if (!isset(static::$typeChecker)) {
62
-            static::$typeChecker = static::createTypeChecker();
62
+            static::$typeChecker=static::createTypeChecker();
63 63
         }
64 64
 
65 65
         return static::$typeChecker;
Please login to merge, or discard this patch.