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

MethodConfig   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 15
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 13 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yiisoft\Proxy\Config;
6
7
final class MethodConfig
8
{
9 1
    public function __construct(
10
        /**
11
         * @var string[]
12
         */
13
        public array $modifiers,
14
        public string $name,
15
        /**
16
         * @var ParameterConfig[]
17
         */
18
        public array $parameters,
19
        public bool $hasReturnType,
20
        public ?TypeConfig $returnType,
21
    ) {
22
    }
23
}
24