Total Complexity | 4 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class NullLexeme implements LexemeInterface |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * @return SymbolInterface[] |
||
15 | * @psalm-return array<int,SymbolInterface> |
||
16 | * @psalm-pure |
||
17 | */ |
||
18 | 1 | public function getSymbols(): array |
|
21 | } |
||
22 | |||
23 | /** |
||
24 | * @return int[] |
||
25 | * @psalm-return array<int,int> |
||
26 | * @psalm-pure |
||
27 | */ |
||
28 | 1 | public function getStartOffsets(): array |
|
29 | { |
||
30 | 1 | return []; |
|
31 | } |
||
32 | |||
33 | /** |
||
34 | * @return int[] |
||
35 | * @psalm-return array<int,int> |
||
36 | * @psalm-pure |
||
37 | */ |
||
38 | 1 | public function getFinishOffsets(): array |
|
41 | } |
||
42 | |||
43 | /** |
||
44 | * @return LexemeInterface |
||
45 | * @psalm-pure |
||
46 | */ |
||
47 | 1 | public function getConstituentLexeme(): LexemeInterface |
|
50 | } |
||
51 | } |
||
52 |