DateTimeImmutable   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A setTime() 0 3 1
1
<?php
2
3
namespace Palmtree\Chrono;
4
5
use Palmtree\Chrono\Traits\Immutable;
6
7
class DateTimeImmutable extends DateTime
8
{
9
    use Immutable;
10
11
    public function setTime(int $hour, int $minute, int $second = 0, int $microseconds = 0): DateTime
12
    {
13
        return $this->cloneCall(__FUNCTION__, \func_get_args());
14
    }
15
}
16