Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
19 | 1 | public function parse(Parser $parser) |
|
20 | { |
||
21 | 1 | $parser->match(Lexer::T_IDENTIFIER); |
|
22 | 1 | $parser->match(Lexer::T_OPEN_PARENTHESIS); |
|
23 | 1 | $this->firstDateExpression = $parser->ArithmeticPrimary(); |
|
24 | 1 | $parser->match(Lexer::T_COMMA); |
|
25 | 1 | $this->secondDateExpression = $parser->ArithmeticPrimary(); |
|
26 | 1 | $parser->match(Lexer::T_CLOSE_PARENTHESIS); |
|
27 | 1 | } |
|
28 | |||
37 |