@@ -25,10 +25,10 @@ |
||
25 | 25 | public function getString(): string |
26 | 26 | { |
27 | 27 | return |
28 | - $this->formatBenchmarkRelative() . |
|
28 | + $this->formatBenchmarkRelative(). |
|
29 | 29 | (empty($exception = $this->formatException()) ? |
30 | 30 | PHP_EOL : |
31 | - 'Exceptions:' . PHP_EOL . $exception); |
|
31 | + 'Exceptions:'.PHP_EOL.$exception); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | /** |
@@ -17,14 +17,14 @@ |
||
17 | 17 | */ |
18 | 18 | public function getString(): string |
19 | 19 | { |
20 | - $r = 'Benchmark:' . PHP_EOL; |
|
20 | + $r = 'Benchmark:'.PHP_EOL; |
|
21 | 21 | /** @var BenchmarkFunction $function */ |
22 | 22 | foreach ($this->report->getFunctions() as $name => $function) { |
23 | 23 | $r .= (new BenchmarkFunctionFormatter($function))->getString(); |
24 | 24 | } |
25 | 25 | return |
26 | - $r . PHP_EOL . |
|
27 | - $this->report->getMemoryUsageReport() . PHP_EOL . |
|
26 | + $r.PHP_EOL. |
|
27 | + $this->report->getMemoryUsageReport().PHP_EOL. |
|
28 | 28 | $this->report->getProfiler()->getReport(); |
29 | 29 | } |
30 | 30 | } |