Completed
Pull Request — master (#86)
by Scott
01:49
created

En::specialNumbers()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 32

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 32
rs 9.408
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
namespace Povils\PHPMND\Languages;
3
4
use Povils\PHPMND\Language;
5
6
class En extends Language
7
{
8
    public static function providesLanguages(): array
9
    {
10
        return [
11
            'en',
12
            'en_GB',
13
            'en_US'
14
        ];
15
    }
16
17
    public function specialNumbers(): array
18
    {
19
        return [
20
            2 => [
21
                'half',
22
            ],
23
            3 => [
24
                'third',
25
            ],
26
            7 => [
27
                'week',
28
            ],
29
            10 => [
30
                'tenth',
31
                'decile',
32
            ],
33
            24 => [
34
                'hours',
35
            ],
36
            28 => [
37
                'February',
38
            ],
39
            60 => [
40
                'second',
41
                'minute',
42
            ],
43
            100 => [
44
                'percent',
45
                'centile'
46
            ],
47
        ];
48
    }
49
}
50