Failed Conditions
Push — master ( 58c386...42cc4d )
by Adrien
05:55
created

BillingTypeType::getPossibleValues()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 6
ccs 4
cts 4
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Application\DBAL\Types;
6
7
class BillingTypeType extends AbstractEnumType
8
{
9
    const ALL_ELECTRONIC = 'all_electronic';
10
    const PAPER_BILL_ELECTRONIC_REMINDER = 'paper_bill_electronic_reminder';
11
    const PAPER_BILL_PAPER_REMINDER = 'paper_bill_paper_reminder';
12
13 10
    protected function getPossibleValues(): array
14
    {
15
        return [
16 10
            self::ALL_ELECTRONIC,
17 10
            self::PAPER_BILL_ELECTRONIC_REMINDER,
18 10
            self::PAPER_BILL_PAPER_REMINDER,
19
        ];
20
    }
21
}
22