Grammar::getInternalMethods()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php declare(strict_types=1);
2
3
/**
4
 * @license     http://opensource.org/licenses/mit-license.php MIT
5
 * @link        https://github.com/nicoSWD
6
 * @author      Nicolas Oelgart <[email protected]>
7
 */
8
namespace nicoSWD\Rule\Grammar;
9
10
abstract class Grammar
11
{
12
    /** @return array<int, <mixed>> */
0 ignored issues
show
Documentation Bug introduced by
The doc comment array<int, <mixed>> at position 4 could not be parsed: Unknown type name '<' at position 4 in array<int, <mixed>>.
Loading history...
13
    abstract public function getDefinition(): array;
14
15
    /** @return array<string, string> */
16 2
    public function getInternalFunctions(): array
17
    {
18 2
        return [];
19
    }
20
21
    /** @return array<string, string> */
22 2
    public function getInternalMethods(): array
23
    {
24 2
        return [];
25
    }
26
}
27