@@ -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++; |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | $this->tmpName = null; |
70 | 70 | } |
71 | 71 | if (array_key_exists($callable_name, $this->functions)) { |
72 | - $callable_name .= '_' . ++$this->namingIndex; |
|
72 | + $callable_name .= '_'.++$this->namingIndex; |
|
73 | 73 | } |
74 | 74 | $this->functions[$callable_name] = [$func, $args]; |
75 | 75 | } |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | |
114 | 114 | foreach ($relatives as $name => $relative) { |
115 | 115 | $relatives[$name] = |
116 | - $this->toPercentage($relative) . ' ' . |
|
116 | + $this->toPercentage($relative).' '. |
|
117 | 117 | brackets(format_time($averages[$name]), BRACKETS_PARENTHESES); |
118 | 118 | } |
119 | 119 | return $relatives; |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | private function toPercentage(float $relative): string |
123 | 123 | { |
124 | 124 | return |
125 | - number_format($relative * 100, 1) . '%'; |
|
125 | + number_format($relative * 100, 1).'%'; |
|
126 | 126 | } |
127 | 127 | |
128 | 128 | public function profilerReport( |