Passed
Push — master ( 048cfc...89074f )
by
unknown
12:32
created

ExpenseClaimStatusType   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 11
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 ExpenseClaimStatusType extends AbstractEnumType
8
{
9
    public function __construct()
10
    {
11
        $config = [
12
            \Application\DBAL\Types\ExpenseClaimStatusType::NEW => 'nouveau',
13
            \Application\DBAL\Types\ExpenseClaimStatusType::PROCESSED => 'traîté',
14
            \Application\DBAL\Types\ExpenseClaimStatusType::REJECTED => 'refusé',
15
        ];
16
17
        parent::__construct($config);
18
    }
19
}
20