Passed
Push — main ( a1a461...2097df )
by Thomas
12:50
created

Error   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Conia\Chuck\Error;
6
7
class Error
8
{
9 11
    public function __construct(
10
        public readonly string $error,
11
        public readonly string $description,
12
        public readonly string $traceback,
13
        public readonly bool $debug,
14
    ) {
15 11
    }
16
}
17