Court::getListValues()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 13
Code Lines 11

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 11
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 11
c 1
b 0
f 0
dl 0
loc 13
ccs 11
cts 11
cp 1
rs 9.9
cc 1
nc 1
nop 0
crap 1
1
<?php
2
0 ignored issues
show
Coding Style introduced by
Missing file doc comment
Loading history...
3
namespace DMT\Insolvency\Validation;
4
5
use DMT\Insolvency\Model\RechtbankCode;
6
7
/**
8
 * Class Court
9
 */
0 ignored issues
show
Coding Style introduced by
Missing @category tag in class comment
Loading history...
Coding Style introduced by
Missing @package tag in class comment
Loading history...
Coding Style introduced by
Missing @author tag in class comment
Loading history...
Coding Style introduced by
Missing @license tag in class comment
Loading history...
Coding Style introduced by
Missing @link tag in class comment
Loading history...
10
class Court implements RechtbankCode
11
{
12
    /**
0 ignored issues
show
Coding Style introduced by
Missing short description in doc comment
Loading history...
13
     * @return array
14
     */
15 7
    public static function getListValues(): array
16
    {
17
        return [
18 7
            self::COURT_01, self::COURT_02, self::COURT_03,
19 7
            self::COURT_04, self::COURT_05, self::COURT_06,
20 7
            self::COURT_07, self::COURT_08, self::COURT_09,
21 7
            self::COURT_10, self::COURT_11, self::COURT_12,
22 7
            self::COURT_13, self::COURT_14, self::COURT_15,
23 7
            self::COURT_16, self::COURT_17, self::COURT_18,
24 7
            self::COURT_19, self::COURT_40, self::COURT_41,
25 7
            self::COURT_44, self::COURT_45, self::COURT_46,
26 7
            self::COURT_47, self::COURT_48, self::COURT_49,
27 7
            self::COURT_50, self::COURT_51,
28
        ];
29
    }
30
}
31