Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
21 | class ReceivedDateConsumerService extends DateConsumerService |
||
22 | { |
||
23 | /** |
||
24 | * Returns true if the token is a ';' |
||
25 | */ |
||
26 | 6 | protected function isStartToken(string $token) : bool |
|
27 | { |
||
28 | 6 | return ($token === ';'); |
|
29 | } |
||
30 | |||
31 | /** |
||
32 | * Returns an array containing ';'. |
||
33 | * |
||
34 | * @return string[] an array of regex pattern matchers |
||
35 | */ |
||
36 | 12 | protected function getTokenSeparators() : array |
|
39 | } |
||
40 | } |
||
41 |