@@ -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 | if (method_exists($this, 'onConstruct')) |
18 | 18 | $this->onConstruct(); |
@@ -82,18 +82,18 @@ discard block |
||
82 | 82 | |
83 | 83 | |
84 | 84 | # Iterator |
85 | - public function rewind() { return reset($this->values); } |
|
86 | - public function key() { return key($this->values); } |
|
87 | - public function current() { return current($this->values); } |
|
88 | - public function next() { return next($this->values); } |
|
89 | - public function valid() { return key($this->values) !== null; } |
|
85 | + public function rewind() { return reset($this->values); } |
|
86 | + public function key() { return key($this->values); } |
|
87 | + public function current() { return current($this->values); } |
|
88 | + public function next() { return next($this->values); } |
|
89 | + public function valid() { return key($this->values) !== null; } |
|
90 | 90 | |
91 | 91 | |
92 | 92 | # Magic Property Access |
93 | - public function __set($offset, $value) { $this->offsetSet($offset, $value); } |
|
94 | - public function __unset($offset) { $this->offsetUnset($offset); } |
|
95 | - public function __get($offset) { return $this->offsetGet($offset); } |
|
96 | - public function __isset($offset) { return $this->offsetExists($offset); } |
|
93 | + public function __set($offset, $value) { $this->offsetSet($offset, $value); } |
|
94 | + public function __unset($offset) { $this->offsetUnset($offset); } |
|
95 | + public function __get($offset) { return $this->offsetGet($offset); } |
|
96 | + public function __isset($offset) { return $this->offsetExists($offset); } |
|
97 | 97 | |
98 | 98 | /** |
99 | 99 | * @param array $data |