@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | private $values = []; |
13 | 13 | |
14 | 14 | public function __construct(array $arrayConfig = []) { |
15 | - foreach($arrayConfig as $key => $value) |
|
15 | + foreach ($arrayConfig as $key => $value) |
|
16 | 16 | $this->offsetSet($key, $value); |
17 | 17 | |
18 | 18 | $this->onConstruct(); |
@@ -85,18 +85,18 @@ discard block |
||
85 | 85 | |
86 | 86 | |
87 | 87 | # Iterator |
88 | - public function rewind() { return reset($this->values); } |
|
89 | - public function key() { return key($this->values); } |
|
90 | - public function current() { return current($this->values); } |
|
91 | - public function next() { return next($this->values); } |
|
92 | - public function valid() { return key($this->values) !== null; } |
|
88 | + public function rewind() { return reset($this->values); } |
|
89 | + public function key() { return key($this->values); } |
|
90 | + public function current() { return current($this->values); } |
|
91 | + public function next() { return next($this->values); } |
|
92 | + public function valid() { return key($this->values) !== null; } |
|
93 | 93 | |
94 | 94 | |
95 | 95 | # Magic Property Access |
96 | - public function __set($offset, $value) { $this->offsetSet($offset, $value); } |
|
97 | - public function __unset($offset) { $this->offsetUnset($offset); } |
|
98 | - public function __get($offset) { return $this->offsetGet($offset); } |
|
99 | - public function __isset($offset) { return $this->offsetExists($offset); } |
|
96 | + public function __set($offset, $value) { $this->offsetSet($offset, $value); } |
|
97 | + public function __unset($offset) { $this->offsetUnset($offset); } |
|
98 | + public function __get($offset) { return $this->offsetGet($offset); } |
|
99 | + public function __isset($offset) { return $this->offsetExists($offset); } |
|
100 | 100 | |
101 | 101 | /** |
102 | 102 | * @param array $data |