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

SwissSailingTypeType::getPossibleValues()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 6
ccs 0
cts 4
cp 0
crap 2
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 SwissSailingTypeType extends AbstractEnumType
8
{
9
    const ACTIVE = 'active';
10
    const PASSIVE = 'passive';
11
    const JUNIOR = 'junior';
12
13
    protected function getPossibleValues(): array
14
    {
15
        return [
16
            self::ACTIVE,
17
            self::PASSIVE,
18
            self::JUNIOR,
19
        ];
20
    }
21
}
22