Passed
Push — master ( ee6b03...f5a05a )
by Aleksandar
02:24
created

Column::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 4
ccs 0
cts 1
cp 0
crap 2
rs 10
1
<?php
2
3
namespace ArekX\PQL\Orm\Attributes;
4
5
use Attribute;
6
7
#[Attribute(Attribute::TARGET_PROPERTY | Attribute::TARGET_METHOD)]
8
class Column
9
{
10
    public function __construct(
11
        public ?string $columnName = null
12
    )
13
    {
14
    }
15
}