@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | $this->silent = $silent ?? $this->silent; |
61 | 61 | |
62 | 62 | $this->iterationNumberGenerator = |
63 | - function (int $iterations, int $i = 1): \Generator { |
|
63 | + function(int $iterations, int $i = 1): \Generator { |
|
64 | 64 | while ($i <= $iterations) { |
65 | 65 | yield $i++; |
66 | 66 | } |
@@ -84,8 +84,8 @@ discard block |
||
84 | 84 | { |
85 | 85 | if ($iterations < self::MIN_ITERATIONS) { |
86 | 86 | throw new \RuntimeException( |
87 | - __CLASS__ . |
|
88 | - ': Number of Iterations should be greater then ' . |
|
87 | + __CLASS__. |
|
88 | + ': Number of Iterations should be greater then '. |
|
89 | 89 | self::MIN_ITERATIONS |
90 | 90 | ); |
91 | 91 | } |
@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | |
293 | 293 | protected function showComment(string $comment = ''): void |
294 | 294 | { |
295 | - echo $comment . PHP_EOL; |
|
295 | + echo $comment.PHP_EOL; |
|
296 | 296 | } |
297 | 297 | |
298 | 298 | /** |
@@ -81,7 +81,7 @@ |
||
81 | 81 | return |
82 | 82 | static::getBenchmarkFunctionFormatter(); |
83 | 83 | } |
84 | - throw new \RuntimeException('Formatter [' . typeOf($formatter) . '] is not accepted.'); |
|
84 | + throw new \RuntimeException('Formatter ['.typeOf($formatter).'] is not accepted.'); |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | /** |