Passed
Pull Request — master (#47)
by
unknown
11:29
created

Definition   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 1
c 0
b 0
f 0
dl 0
loc 9
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace hanneskod\readmetester\InputLanguage;
6
7
class Definition
8
{
9
    /**
10
     * @param array<string> $attributes
11
     */
12
    public function __construct(
13
        public array $attributes = [],
14
        public string $code = '',
15
    ) {}
16
}
17