@@ -17,8 +17,8 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | private function __construct(...$objects) |
| 19 | 19 | { |
| 20 | - $this->objects = $objects; |
|
| 21 | - $this->current = 0; |
|
| 20 | + $this->objects=$objects; |
|
| 21 | + $this->current=0; |
|
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | /** |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | if (!isset($this->objects[$this->current])) { |
| 39 | 39 | throw OutOfObjects::alreadyUsedAllOfThem(); |
| 40 | 40 | } |
| 41 | - $object = $this->objects[$this->current]; |
|
| 41 | + $object=$this->objects[$this->current]; |
|
| 42 | 42 | ++$this->current; |
| 43 | 43 | return $object; |
| 44 | 44 | } |