@@ -37,7 +37,7 @@ |
||
37 | 37 | |
38 | 38 | private function createGenerator(...$args): void |
39 | 39 | { |
40 | - $this->generator = \call_user_func($this->generatorFunction, ...$args); |
|
40 | + $this->generator = \call_user_func($this->generatorFunction, ...$args); |
|
41 | 41 | |
42 | 42 | if (!($this->generator instanceof \Generator)) { |
43 | 43 | throw new \InvalidArgumentException('Return type of your generator function MUST be a \Generator.'); |