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

ClassConfig   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 25
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 23 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yiisoft\Proxy\Config;
6
7
final class ClassConfig
8
{
9 1
    public function __construct(
10
        public bool $isInterface,
11
        public string $namespace,
12
        /**
13
         * @var string[]
14
         */
15
        public array $modifiers,
16
        public string $name,
17
        public string $shortName,
18
        public string $parent,
19
        /**
20
         * @var string[]
21
         */
22
        public array $parents,
23
        /**
24
         * @var string[]
25
         */
26
        public array $interfaces,
27
        /**
28
         * @var MethodConfig[]
29
         */
30
        public array $methods,
31
    ) {
32
    }
33
}
34