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

BillingTypeType   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 11
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Application\Api\Enum;
6
7
class BillingTypeType extends AbstractEnumType
8
{
9 1
    public function __construct()
10
    {
11
        $config = [
12 1
            \Application\DBAL\Types\BillingTypeType::ALL_ELECTRONIC => 'En ligne avec rappel par e-mail',
13
            \Application\DBAL\Types\BillingTypeType::PAPER_BILL_ELECTRONIC_REMINDER => 'BVR avec rappel par e-mail',
14
            \Application\DBAL\Types\BillingTypeType::PAPER_BILL_PAPER_REMINDER => 'BVR avec rappel par e-mail et papier',
15
        ];
16
17 1
        parent::__construct($config);
18 1
    }
19
}
20