NamesInflection::getCases()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 2
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
namespace morphos;
3
4
use RuntimeException;
5
6
abstract class NamesInflection implements Cases, Gender
7
{
8
    /**
9
     * @abstract
10
     * @param string $name
11
     * @param string $gender
12
     *
13
     * @return bool
14
     */
15
    public static function isMutable($name, $gender) {
16
        throw new RuntimeException('Not implemented');
17
    }
18
19
    /**
20
     * @abstract
21
     * @param string $name
22
     * @param string $gender
23
     *
24
     * @return string[]
25
     * @phpstan-return array<string, string>
26
     */
27
    public static function getCases($name, $gender) {
28
        throw new RuntimeException('Not implemented');
29
    }
30
31
    /**
32
     * @abstract
33
     * @param string $name
34
     * @param string $case
35
     * @param string|null $gender
36
     *
37
     * @return string
38
     */
39
    public static function getCase($name, $case, $gender) {
40
        throw new RuntimeException('Not implemented');
41
    }
42
}
43