@@ -20,7 +20,7 @@ |
||
| 20 | 20 | protected function wrongReportType(string $expected, ReportInterface $report): void |
| 21 | 21 | { |
| 22 | 22 | throw new \RuntimeException( |
| 23 | - 'Instance of [' . $expected . '] expected, [' . typeOf($report) . '] given.' |
|
| 23 | + 'Instance of ['.$expected.'] expected, ['.typeOf($report).'] given.' |
|
| 24 | 24 | ); |
| 25 | 25 | } |
| 26 | 26 | } |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | $this->iterations = $this->refineIterations($iterations); |
| 57 | 57 | |
| 58 | 58 | $this->iterationNumberGenerator = |
| 59 | - function (int $iterations, int $i = 1): \Generator { |
|
| 59 | + function(int $iterations, int $i = 1): \Generator { |
|
| 60 | 60 | while ($i <= $iterations) { |
| 61 | 61 | yield $i++; |
| 62 | 62 | } |
@@ -80,8 +80,8 @@ discard block |
||
| 80 | 80 | { |
| 81 | 81 | if ($iterations < self::MIN_ITERATIONS) { |
| 82 | 82 | throw new \RuntimeException( |
| 83 | - __CLASS__ . |
|
| 84 | - ': Number of Iterations should be greater then ' . |
|
| 83 | + __CLASS__. |
|
| 84 | + ': Number of Iterations should be greater then '. |
|
| 85 | 85 | self::MIN_ITERATIONS |
| 86 | 86 | ); |
| 87 | 87 | } |