Passed
Push — main ( 2097df...1b0f33 )
by Thomas
02:43
created

ErrorRenderer::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 0
dl 0
loc 4
ccs 1
cts 1
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
crap 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Conia\Chuck\Error;
6
7
class ErrorRenderer
8
{
9 13
    public function __construct(
10
        public readonly string $renderer,
11
        public readonly array $args
12
    ) {
13 13
    }
14
}
15