| @@ -5,7 +5,7 @@ | ||
| 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) { | 
| @@ -8,7 +8,7 @@ | ||
| 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 | } |