Total Complexity | 5 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | final class MatchRepeat implements MatchResultInterface |
||
13 | { |
||
14 | |||
15 | /** |
||
16 | * @return bool |
||
17 | * @psalm-pure |
||
18 | */ |
||
19 | 1 | public function shouldRepeat(): bool |
|
20 | { |
||
21 | 1 | return true; |
|
22 | } |
||
23 | |||
24 | /** |
||
25 | * @return bool |
||
26 | * @psalm-pure |
||
27 | */ |
||
28 | 1 | public function hasToken(): bool |
|
29 | { |
||
30 | 1 | return false; |
|
31 | } |
||
32 | |||
33 | /** |
||
34 | * @return TokenInterface |
||
35 | * @psalm-pure |
||
36 | */ |
||
37 | 1 | public function getToken(): TokenInterface |
|
40 | } |
||
41 | |||
42 | /** |
||
43 | * @return bool |
||
44 | * @psalm-pure |
||
45 | */ |
||
46 | 1 | public function hasLexeme(): bool |
|
47 | { |
||
48 | 1 | return false; |
|
49 | } |
||
50 | |||
51 | /** |
||
52 | * @return LexemeInterface |
||
53 | * @psalm-pure |
||
54 | */ |
||
55 | 1 | public function getLexeme(): LexemeInterface |
|
58 | } |
||
59 | } |
||
60 |