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

Definition::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 0
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
nc 1
nop 2
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