Passed
Push — master ( e318bf...362ec5 )
by Petr
04:48
created

ElementAttributes::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 0
c 1
b 0
f 0
dl 0
loc 6
ccs 1
cts 1
cp 1
rs 10
cc 1
nc 1
nop 3
crap 1
1
<?php
2
3
namespace Riesenia\Pohoda\Common;
4
5
6
/**
7
 * DTO for element attributes
8
 */
9
class ElementAttributes
10
{
11 63
    public function __construct(
12
        public readonly string $attrElement = '',
13
        public readonly string $attrName = '',
14
        public readonly ?string $attrNamespace = null,
15
    )
16
    {
17 63
    }
18
}
19