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.
Completed
Push — master ( ac587f...53bcfa )
by SignpostMarv
07:07
created

ClassDoesNotImplementClassException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 10
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 4
dl 0
loc 10
ccs 0
cts 10
cp 0
crap 2
rs 9.4285
c 0
b 0
f 0
1
<?php
2
/**
3
* Base daft objects.
4
*
5
* @author SignpostMarv
6
*/
7
declare(strict_types=1);
8
9
namespace SignpostMarv\DaftObject;
10
11
use Throwable;
12
13
class ClassDoesNotImplementClassException extends IncorrectlyImplementedTypeException
14
{
15
    public function __construct(
16
        string $class,
17
        string $doesNotImplementClass,
18
        int $code = 0,
19
        Throwable $previous = null
20
    ) {
21
        parent::__construct(
22
            sprintf('%s does not implement %s', $class, $doesNotImplementClass),
23
            $code,
24
            $previous
25
        );
26
    }
27
}
28