NumeralGenerator   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 24
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getCases() 0 3 1
A getCase() 0 3 1
1
<?php
2
namespace morphos;
3
4
use RuntimeException;
5
6
abstract class NumeralGenerator implements Cases, Gender
7
{
8
    /**
9
     * @abstract
10
     * @param int $number
11
     *
12
     * @return string[]
13
     * @phpstan-return array<string, string>
14
     */
15
    public static function getCases($number) {
16
        throw new RuntimeException('Not implemented');
17
    }
18
19
    /**
20
     * @abstract
21
     * @param int $number
22
     * @param string $case
23
     *
24
     * @return string
25
     */
26
    public static function getCase($number, $case) {
27
        throw new RuntimeException('Not implemented');
28
    }
29
}
30