@@ -152,7 +152,9 @@ |
||
152 | 152 | public function next() |
153 | 153 | { |
154 | 154 | $this->position++; |
155 | - if ($this->valid()) return $this->current(); |
|
155 | + if ($this->valid()) { |
|
156 | + return $this->current(); |
|
157 | + } |
|
156 | 158 | } |
157 | 159 | |
158 | 160 | /** |