Passed
Pull Request — main (#339)
by Chema
05:43 queued 01:20
created

Doc::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 0
c 1
b 0
f 1
nc 1
nop 2
dl 0
loc 4
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Gacela\Framework\DocBlockResolver;
6
7
use Attribute;
8
9
#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]
10
final class Doc
11
{
12
    /**
13
     * @param class-string $className
14
     */
15
    public function __construct(
16
        public readonly string $method,
17
        public readonly string $className,
18
    ) {
19
    }
20
}
21