Test Failed
Branch master (fc308a)
by Doru
02:47
created
Category
src/PHPArray/AbstractArray.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 
6 6
 abstract class AbstractArray extends \ArrayObject
7 7
 {
8
-    protected $elements = [];
8
+    protected $elements = [ ];
9 9
     protected $valueType;
10 10
 
11 11
     public function __construct(string $valueType) {
Please login to merge, or discard this patch.
src/PHPArray/ArrayMap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     
9 9
     public function __construct(string $offsetType, string $valueType)
10 10
     {
11
-        $offsetAcceptedTypes = ['integer', 'string'];
11
+        $offsetAcceptedTypes = [ 'integer', 'string' ];
12 12
         if (!in_array(strtolower($offsetType), $offsetAcceptedTypes)) {
13 13
             throw new \InvalidArgumentException('Offest type must be of type: ' . implode(', ', $offsetAcceptedTypes) . '.');
14 14
         }
Please login to merge, or discard this patch.