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

Finalize   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 2
dl 0
loc 6
rs 10
c 1
b 0
f 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Spiral\Core\Attribute;
6
7
/**
8
 * Define a finalize method for the class.
9
 */
10
#[\Attribute(\Attribute::TARGET_CLASS)]
11
final class Finalize
12
{
13
    public function __construct(
14
        public string $method,
15
    ) {
16
    }
17
}
18