Conflict   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Chubbyphp\ApiHttp\ApiProblem\ClientError;
6
7
use Chubbyphp\ApiHttp\ApiProblem\AbstractApiProblem;
8
9
final class Conflict extends AbstractApiProblem
10
{
11
    public function __construct(string $detail = null, string $instance = null)
12
    {
13
        parent::__construct(
14
            'https://tools.ietf.org/html/rfc2616#section-10.4.10',
15 2
            409,
16
            'Conflict',
17 2
            $detail,
18 2
            $instance
19 2
        );
20 2
    }
21
}
22