GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( 662af5...44febf )
by Joni
02:17
created

TimeType   A

Complexity

Total Complexity 8

Size/Duplication

Total Lines 90
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 20
dl 0
loc 90
ccs 20
cts 20
cp 1
rs 10
c 0
b 0
f 0
wmc 8
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace Sop\ASN1\Type;
6
7
/**
8
 * Interface to mark types that encode a time as a string.
9
 */
10
interface TimeType extends StringType
11
{
12
    /**
13
     * Get the date and time.
14
     *
15
     * @return \DateTimeImmutable
16
     */
17
    public function dateTime(): \DateTimeImmutable;
18
}
19