Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
44 | public function parse(\Doctrine\ORM\Query\Parser $parser) |
||
45 | { |
||
46 | $parser->match(Lexer::T_IDENTIFIER); |
||
47 | $parser->match(Lexer::T_OPEN_PARENTHESIS); |
||
48 | |||
49 | $this->dateExpression = $parser->ArithmeticExpression(); |
||
50 | $parser->match(Lexer::T_COMMA); |
||
51 | |||
52 | $this->formatChar = $parser->StringPrimary(); |
||
53 | $parser->match(Lexer::T_CLOSE_PARENTHESIS); |
||
54 | } |
||
55 | } |
||
56 |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.