Passed
Pull Request — master (#21)
by
unknown
02:07
created

ParameterConfig   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 10 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yiisoft\Proxy\Config;
6
7
final class ParameterConfig
8
{
9 1
    public function __construct(
10
        public bool $hasType,
11
        public ?TypeConfig $type,
12
        public string $name,
13
        public bool $allowsNull,
14
        public bool $isDefaultValueAvailable,
15
        public ?bool $isDefaultValueConstant,
16
        public ?string $defaultValueConstantName,
17
        public mixed $defaultValue,
18
    ) {
19
    }
20
}
21