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

Ctx::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 0
dl 0
loc 7
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 5
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