Failed Conditions
Push — master ( dc3899...a0ee18 )
by
unknown
07:45
created

SwissWindsurfTypeType   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 10
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 8 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Application\Api\Enum;
6
7
class SwissWindsurfTypeType extends AbstractEnumType
8
{
9 1
    public function __construct()
10
    {
11
        $config = [
12 1
            \Application\DBAL\Types\SwissWindsurfTypeType::ACTIVE => 'Actif',
13
            \Application\DBAL\Types\SwissWindsurfTypeType::PASSIVE => 'Passif',
14
        ];
15
16 1
        parent::__construct($config);
17 1
    }
18
}
19