@@ -45,10 +45,10 @@ discard block |
||
| 45 | 45 | { |
| 46 | 46 | $this->function = $function; |
| 47 | 47 | return |
| 48 | - $this->formatBenchmarkRelative() . |
|
| 48 | + $this->formatBenchmarkRelative(). |
|
| 49 | 49 | (empty($exception = $this->formatException()) ? |
| 50 | 50 | PHP_EOL : |
| 51 | - static::EXCEPTIONS . PHP_EOL . $exception); |
|
| 51 | + static::EXCEPTIONS.PHP_EOL.$exception); |
|
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | /** |
@@ -128,12 +128,11 @@ discard block |
||
| 128 | 128 | try { |
| 129 | 129 | $str = var_export($executionReturn, true); |
| 130 | 130 | } catch (\Exception $e) { |
| 131 | - $str = '[' . typeOf($e) . '] ' . $e->getMessage(); |
|
| 131 | + $str = '['.typeOf($e).'] '.$e->getMessage(); |
|
| 132 | 132 | } |
| 133 | 133 | return |
| 134 | 134 | $type === 'array' ? |
| 135 | - $str : |
|
| 136 | - sprintf( |
|
| 135 | + $str : sprintf( |
|
| 137 | 136 | '%s(%s)', |
| 138 | 137 | $type, |
| 139 | 138 | $str |