Test Failed
Pull Request — master (#1190)
by Aleksei
15:08
created

BootMethod::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 0
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Spiral\Boot\Attribute;
6
7
#[\Attribute(\Attribute::TARGET_METHOD)]
8
final class BootMethod
9
{
10
    public function __construct(
11
        public readonly int $priority = 0,
12
    ) {}
13
}
14