BaseInflection::isMutable()   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 1
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 BaseInflection implements Cases
7
{
8
    /**
9
     * @abstract
10
     * @param string $name
11
     * @return bool
12
     */
13
    public static function isMutable($name) {
14
        throw new RuntimeException('Not implemented');
15
    }
16
17
    /**
18
     * @abstract
19
     * @param string $name
20
     * @return string[]
21
     * @phpstan-return array<string, string>
22
     */
23
    public static function getCases($name) {
24
        throw new RuntimeException('Not implemented');
25
    }
26
27
    /**
28
     * @abstract
29
     * @param string $name
30
     * @param string $case
31
     * @return string
32
     */
33
    public static function getCase($name, $case) {
34
        throw new RuntimeException('Not implemented');
35
    }
36
}
37