We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 3 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 6 | class Time { |
||
| 7 | |||
| 8 | private float $microtime; |
||
| 9 | private int $time; |
||
| 10 | |||
| 11 | public function __construct() { |
||
| 12 | $this->microtime = microtime(true); |
||
| 13 | $this->time = IFloor($this->microtime); |
||
| 14 | } |
||
| 15 | |||
| 16 | public function getMicroTime() : float { |
||
| 18 | } |
||
| 19 | |||
| 20 | public function getTime() : int { |
||
| 25 |