@@ -39,10 +39,10 @@ discard block |
||
39 | 39 | public function getString(): string |
40 | 40 | { |
41 | 41 | return |
42 | - $this->formatBenchmarkRelative() . |
|
42 | + $this->formatBenchmarkRelative(). |
|
43 | 43 | (empty($exception = $this->formatException()) ? |
44 | 44 | PHP_EOL : |
45 | - static::EXCEPTIONS . PHP_EOL . $exception); |
|
45 | + static::EXCEPTIONS.PHP_EOL.$exception); |
|
46 | 46 | } |
47 | 47 | |
48 | 48 | /** |
@@ -137,12 +137,11 @@ discard block |
||
137 | 137 | try { |
138 | 138 | $str = var_export($executionReturn, true); |
139 | 139 | } catch (\Exception $e) { |
140 | - $str = '[' . typeOf($e) . ']' . $e->getMessage(); |
|
140 | + $str = '['.typeOf($e).']'.$e->getMessage(); |
|
141 | 141 | } |
142 | 142 | return |
143 | 143 | $type === 'array' ? |
144 | - $str : |
|
145 | - sprintf( |
|
144 | + $str : sprintf( |
|
146 | 145 | '%s(%s)', |
147 | 146 | $type, |
148 | 147 | $str |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | return |
65 | 65 | new BenchmarkReport($reportable); |
66 | 66 | } |
67 | - throw new \RuntimeException('Attempt to create unimplemented report for: ' . typeOf($reportable)); |
|
67 | + throw new \RuntimeException('Attempt to create unimplemented report for: '.typeOf($reportable)); |
|
68 | 68 | } |
69 | 69 | |
70 | 70 | /** |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | return |
90 | 90 | self::getBenchmarkReportFormatter($report); |
91 | 91 | } |
92 | - throw new \RuntimeException('Attempt to create unimplemented formatter for: ' . typeOf($report)); |
|
92 | + throw new \RuntimeException('Attempt to create unimplemented formatter for: '.typeOf($report)); |
|
93 | 93 | } |
94 | 94 | |
95 | 95 | /** |