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   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

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