@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | $this->silent = $silent ?? $this->silent; |
| 67 | 67 | |
| 68 | 68 | $this->iterationNumberGenerator = |
| 69 | - function (int $iterations, int $i = 1): \Generator { |
|
| 69 | + function(int $iterations, int $i = 1): \Generator { |
|
| 70 | 70 | while ($i <= $iterations) { |
| 71 | 71 | yield $i++; |
| 72 | 72 | } |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | { |
| 91 | 91 | if ($iterations < self::MIN_ITERATIONS) { |
| 92 | 92 | throw new \RuntimeException( |
| 93 | - '[' . __CLASS__ . '] Number of Iterations should be greater than ' . self::MIN_ITERATIONS . '.' |
|
| 93 | + '['.__CLASS__.'] Number of Iterations should be greater than '.self::MIN_ITERATIONS.'.' |
|
| 94 | 94 | ); |
| 95 | 95 | } |
| 96 | 96 | } |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | |
| 142 | 142 | protected function sectionSeparator(?string $char): string |
| 143 | 143 | { |
| 144 | - return str_repeat($char ?? static::DEFAULT_SEPARATOR_CHAR, self::DEFAULT_TERMINAL_WIDTH) . PHP_EOL. PHP_EOL; |
|
| 144 | + return str_repeat($char ?? static::DEFAULT_SEPARATOR_CHAR, self::DEFAULT_TERMINAL_WIDTH).PHP_EOL.PHP_EOL; |
|
| 145 | 145 | } |
| 146 | 146 | |
| 147 | 147 | /** |
@@ -317,7 +317,7 @@ discard block |
||
| 317 | 317 | |
| 318 | 318 | protected function showComment(string $comment = ''): void |
| 319 | 319 | { |
| 320 | - echo $comment . PHP_EOL; |
|
| 320 | + echo $comment.PHP_EOL; |
|
| 321 | 321 | } |
| 322 | 322 | |
| 323 | 323 | /** |