| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | 1 | public function parse(Parser $parser) |
|
| 41 | { |
||
| 42 | 1 | $parser->match(Lexer::T_IDENTIFIER); |
|
| 43 | 1 | $parser->match(Lexer::T_OPEN_PARENTHESIS); |
|
| 44 | |||
| 45 | 1 | $this->date1 = $parser->ArithmeticPrimary(); |
|
| 46 | 1 | $parser->match(Lexer::T_COMMA); |
|
| 47 | 1 | $this->date2 = $parser->ArithmeticPrimary(); |
|
| 48 | |||
| 49 | 1 | $parser->match(Lexer::T_CLOSE_PARENTHESIS); |
|
| 50 | 1 | } |
|
| 52 |