@@ -52,7 +52,7 @@ |
||
52 | 52 | $this->currentValue = $reportable->getLastValue(); |
53 | 53 | $this->elapsed = $reportable->getElapsed(); |
54 | 54 | } else { |
55 | - $this->wrongReportable( AbstractTimer::class, $reportable); |
|
55 | + $this->wrongReportable(AbstractTimer::class, $reportable); |
|
56 | 56 | } |
57 | 57 | return $this; |
58 | 58 | } |
@@ -27,7 +27,7 @@ |
||
27 | 27 | protected function wrongReportable(string $expected, ReportableInterface $reportable): void |
28 | 28 | { |
29 | 29 | throw new \RuntimeException( |
30 | - 'Instance of [' . $expected . '] expected, [' . typeOf($reportable) . '] given' |
|
30 | + 'Instance of ['.$expected.'] expected, ['.typeOf($reportable).'] given' |
|
31 | 31 | ); |
32 | 32 | } |
33 | 33 | } |