@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | $this->silent = $silent ?? $this->silent; |
| 71 | 71 | |
| 72 | 72 | $this->iterationNumberGenerator = |
| 73 | - static function (int $iterations, int $i = 1): \Generator { |
|
| 73 | + static function(int $iterations, int $i = 1): \Generator { |
|
| 74 | 74 | while ($i <= $iterations) { |
| 75 | 75 | yield $i++; |
| 76 | 76 | } |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | { |
| 97 | 97 | if ($iterations < self::MIN_ITERATIONS) { |
| 98 | 98 | throw new \RuntimeException( |
| 99 | - '[' . __CLASS__ . '] Number of Iterations should be greater than ' . self::MIN_ITERATIONS . '.' |
|
| 99 | + '['.__CLASS__.'] Number of Iterations should be greater than '.self::MIN_ITERATIONS.'.' |
|
| 100 | 100 | ); |
| 101 | 101 | } |
| 102 | 102 | } |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | str_repeat( |
| 161 | 161 | $char ?? static::DEFAULT_SEPARATOR_CHAR, |
| 162 | 162 | self::DEFAULT_TERMINAL_WIDTH |
| 163 | - ) . PHP_EOL . PHP_EOL; |
|
| 163 | + ).PHP_EOL.PHP_EOL; |
|
| 164 | 164 | } |
| 165 | 165 | |
| 166 | 166 | /** |
@@ -270,7 +270,7 @@ discard block |
||
| 270 | 270 | $this->getTimer()->elapsed(), |
| 271 | 271 | PHP_EOL, |
| 272 | 272 | (string)$this->memoryUsageReport |
| 273 | - ) . |
|
| 273 | + ). |
|
| 274 | 274 | ($eol ? PHP_EOL : ''); |
| 275 | 275 | } |
| 276 | 276 | |
@@ -339,7 +339,7 @@ discard block |
||
| 339 | 339 | |
| 340 | 340 | protected function showComment(string $comment = ''): void |
| 341 | 341 | { |
| 342 | - echo $comment . PHP_EOL; |
|
| 342 | + echo $comment.PHP_EOL; |
|
| 343 | 343 | } |
| 344 | 344 | |
| 345 | 345 | /** |