| Total Complexity | 6 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 92.31% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 7 | class Timer extends AbstractTimer |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @return float |
||
| 11 | */ |
||
| 12 | 13 | public function current(): float |
|
| 13 | { |
||
| 14 | return |
||
| 15 | 13 | microtime(true); |
|
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param float $start |
||
| 20 | * @param float $stop |
||
| 21 | */ |
||
| 22 | 4 | protected function assertStartAndStop($start, $stop): void |
|
| 37 | } |
||
| 38 | 2 | } |
|
| 41 |