Test Setup Failed
Push — develop ( 7cd2b2...750858 )
by Alec
03:42
created

Timer::check()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 5
CRAP Score 2

Importance

Changes 0
Metric Value
cc 2
eloc 5
nc 2
nop 1
dl 0
loc 8
ccs 5
cts 5
cp 1
crap 2
rs 10
c 0
b 0
f 0
1
<?php declare(strict_types=1);
2
3
namespace AlecRabbit\Tools;
4
5
class Timer extends AbstractTimer
6
{
7
    /**
8
     * @return float
9
     */
10
    public function current(): float
11
    {
12
        return
13
            microtime(true);
14
    }
15
}
16