Completed
Push — develop ( d2e190...d276d7 )
by Alec
10:43 queued 07:55
created

Timer::current()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
ccs 2
cts 2
cp 1
crap 1
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 10
    public function current(): float
11
    {
12
        return
13 10
            microtime(true);
14
    }
15
}
16