@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | { |
29 | 29 | $this->iterations = |
30 | 30 | new Rewindable( |
31 | - function (int $iterations): \Generator { |
|
31 | + function(int $iterations): \Generator { |
|
32 | 32 | $i = 1; |
33 | 33 | while ($i <= $iterations) { |
34 | 34 | yield $i++; |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | $this->tmpName = null; |
72 | 72 | } |
73 | 73 | if (array_key_exists($callableName, $this->functions)) { |
74 | - $callableName .= '_' . ++$this->namingIndex; |
|
74 | + $callableName .= '_'.++$this->namingIndex; |
|
75 | 75 | } |
76 | 76 | $this->functions[$callableName] = [$func, $args]; |
77 | 77 | } |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | |
119 | 119 | foreach ($relatives as $name => $relative) { |
120 | 120 | $relatives[$name] = |
121 | - $this->toPercentage($relative) . ' ' . |
|
121 | + $this->toPercentage($relative).' '. |
|
122 | 122 | brackets(format_time($averages[$name]), BRACKETS_PARENTHESES); |
123 | 123 | } |
124 | 124 | return $relatives; |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | private function toPercentage(float $relative): string |
132 | 132 | { |
133 | 133 | return |
134 | - number_format($relative * 100, 1) . '%'; |
|
134 | + number_format($relative * 100, 1).'%'; |
|
135 | 135 | } |
136 | 136 | |
137 | 137 | /** |