@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | // There is almost no sense in using polyfill function. |
30 | 30 | // If you're REALLY need to use HRTimer set `$ignoreVersionRestrictions` to true. |
31 | 31 | // Otherwise use `Timer::class` instance instead. |
32 | - throw new \RuntimeException('[' . static::class . '] Your php version is below 7.3.0.'); |
|
32 | + throw new \RuntimeException('['.static::class.'] Your php version is below 7.3.0.'); |
|
33 | 33 | } |
34 | 34 | if (PHP_INT_SIZE < INT_SIZE_64BIT) { |
35 | 35 | // `HRTimer::class` is designed and tested in 64bit environment |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | protected function assertStart($start): void |
57 | 57 | { |
58 | 58 | if (!\is_int($start)) { |
59 | - throw new \RuntimeException('Start value is NOT ok. [' . typeOf($start) . ']'); |
|
59 | + throw new \RuntimeException('Start value is NOT ok. ['.typeOf($start).']'); |
|
60 | 60 | } |
61 | 61 | } |
62 | 62 | |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | protected function assertStop($stop): void |
67 | 67 | { |
68 | 68 | if (!is_int($stop)) { |
69 | - throw new \RuntimeException('Stop value is NOT ok. [' . typeOf($stop) . ']'); |
|
69 | + throw new \RuntimeException('Stop value is NOT ok. ['.typeOf($stop).']'); |
|
70 | 70 | } |
71 | 71 | } |
72 | 72 |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | protected function assertStart($start): void |
32 | 32 | { |
33 | 33 | if (!\is_float($start)) { |
34 | - throw new \RuntimeException('Start value is NOT ok. [' . typeOf($start) . ']'); |
|
34 | + throw new \RuntimeException('Start value is NOT ok. ['.typeOf($start).']'); |
|
35 | 35 | } |
36 | 36 | } |
37 | 37 | |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | protected function assertStop($stop): void |
42 | 42 | { |
43 | 43 | if (!is_float($stop)) { |
44 | - throw new \RuntimeException('Stop value is NOT ok. [' . typeOf($stop) . ']'); |
|
44 | + throw new \RuntimeException('Stop value is NOT ok. ['.typeOf($stop).']'); |
|
45 | 45 | } |
46 | 46 | } |
47 | 47 |
@@ -52,7 +52,7 @@ |
||
52 | 52 | $this->currentValue = $reportable->getLastValue(); |
53 | 53 | $this->elapsed = $reportable->getElapsed(); |
54 | 54 | } else { |
55 | - $this->wrongReportable('Instance of ' . AbstractTimer::class, $reportable); |
|
55 | + $this->wrongReportable('Instance of '.AbstractTimer::class, $reportable); |
|
56 | 56 | } |
57 | 57 | return $this; |
58 | 58 | } |
@@ -4,4 +4,4 @@ |
||
4 | 4 | |
5 | 5 | // @codeCoverageIgnoreStart |
6 | 6 | /** @internal */ |
7 | -define(__NAMESPACE__ .'\HRTIMER_VALUE_COEFFICIENT', 1E9); |
|
7 | +define(__NAMESPACE__.'\HRTIMER_VALUE_COEFFICIENT', 1E9); |