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

Timer   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 9
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A current() 0 4 1
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