CS fixes
This commit is contained in:
parent
7b1d84cbdb
commit
08a3423ce2
2 changed files with 4 additions and 2 deletions
|
@ -358,6 +358,7 @@ class Parser
|
|||
default:
|
||||
$treeWalkerChain->walkSelectStatement($AST);
|
||||
}
|
||||
|
||||
$this->queryComponents = $treeWalkerChain->getQueryComponents();
|
||||
}
|
||||
|
||||
|
@ -1751,7 +1752,7 @@ class Parser
|
|||
* NewObjectArg ::= ScalarExpression
|
||||
*
|
||||
* @TODO - Maybe you should support other expressions and nested "new" operator
|
||||
*
|
||||
*
|
||||
* @return \Doctrine\ORM\Query\AST\SimpleSelectExpression
|
||||
*/
|
||||
public function NewObjectArg()
|
||||
|
@ -2094,7 +2095,7 @@ class Parser
|
|||
case ($lookaheadType === Lexer::T_NEW):
|
||||
$expression = $this->NewObjectExpression();
|
||||
break;
|
||||
|
||||
|
||||
default:
|
||||
$this->syntaxError(
|
||||
'IdentificationVariable | ScalarExpression | AggregateExpression | FunctionDeclaration | PartialObjectExpression | "(" Subselect ")" | CaseExpression',
|
||||
|
|
|
@ -94,6 +94,7 @@ class TreeWalkerChain implements TreeWalker
|
|||
{
|
||||
foreach ($this->_walkers as $walker) {
|
||||
$walker->walkSelectStatement($AST);
|
||||
|
||||
$this->_queryComponents = $walker->getQueryComponents();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue