Test Failed
Pull Request — master (#870)
by Aleksei
06:40
created

Ctx   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 1
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Spiral\Core\Internal\Factory;
6
7
final class Ctx
8
{
9
    public function __construct(
10
        public readonly string $alias,
11
        public string $class,
12
        public ?string $parameter = null,
13
        public ?bool $singleton = null,
14
        public ?\ReflectionClass $reflection = null,
15
    ) {
16
    }
17
}
18