@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | $this->iterations = $this->refineIterations($iterations); |
| 60 | 60 | |
| 61 | 61 | $this->generatorFunction = |
| 62 | - function (int $iterations, int $i = 1): \Generator { |
|
| 62 | + function(int $iterations, int $i = 1): \Generator { |
|
| 63 | 63 | while ($i <= $iterations) { |
| 64 | 64 | yield $i++; |
| 65 | 65 | } |
@@ -83,8 +83,8 @@ discard block |
||
| 83 | 83 | { |
| 84 | 84 | if ($iterations < self::MIN_ITERATIONS) { |
| 85 | 85 | throw new \RuntimeException( |
| 86 | - __CLASS__ . |
|
| 87 | - ': Number of Iterations should be greater then ' . |
|
| 86 | + __CLASS__. |
|
| 87 | + ': Number of Iterations should be greater then '. |
|
| 88 | 88 | self::MIN_ITERATIONS |
| 89 | 89 | ); |
| 90 | 90 | } |