@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | { |
52 | 52 | $this->iterations = $this->refineIterations($iterations); |
53 | 53 | |
54 | - $this->generatorFunction = function (int $iterations, int $i = 1): \Generator { |
|
54 | + $this->generatorFunction = function(int $iterations, int $i = 1): \Generator { |
|
55 | 55 | while ($i <= $iterations) { |
56 | 56 | yield $i++; |
57 | 57 | } |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | { |
66 | 66 | $iterations = $iterations ?? self::MIN_ITERATIONS; |
67 | 67 | if ($iterations < self::MIN_ITERATIONS) { |
68 | - throw new \RuntimeException(__CLASS__ . ': Iterations should greater then ' . self::MIN_ITERATIONS); |
|
68 | + throw new \RuntimeException(__CLASS__.': Iterations should greater then '.self::MIN_ITERATIONS); |
|
69 | 69 | } |
70 | 70 | return $iterations; |
71 | 71 | } |