Completed
Push — 1.x ( d73ab7...284b84 )
by Akihito
23s queued 10s
created

AuraSqlQueryConfig   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 13
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ray\AuraSqlModule\Annotation;
6
7
use Attribute;
8
use Doctrine\Common\Annotations\NamedArgumentConstructorAnnotation;
9
use Ray\Di\Di\Qualifier;
10
11
/**
12
 * @Annotation
13
 * @Target("METHOD")
14
 * @Qualifier
15
 */
16
#[Attribute(Attribute::TARGET_METHOD), Qualifier]
17
final class AuraSqlQueryConfig implements NamedArgumentConstructorAnnotation
18
{
19
    /** @var ?array<string, string> */
20
    public $value;
21
22
    /**
23
     * @param array<string, string> $value
24
     */
25
    public function __construct(?array $value = null)
26
    {
27
        $this->value = $value;
28
    }
29
}
30