DecimalNumber   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 9
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getType() 0 3 1
1
<?php declare(strict_types=1);
2
3
namespace Igni\Storage\Mapping\Annotation\Property;
4
5
use Igni\Storage\Mapping\Annotation\Property;
6
7
/**
8
 * @Annotation
9
 */
10
class DecimalNumber extends Property
11
{
12
    public $scale;
13
14
    public $precision;
15
16
    public function getType(): string
17
    {
18
        return 'decimal';
19
    }
20
}
21