Completed
Push — master ( b68d6a...719cd3 )
by Alexander
02:08
created
src/NodeParser/SortNodeParser.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,7 @@
 block discarded – undo
35 35
         do {
36 36
             $direction = $tokenStream->expect([Token::T_PLUS, Token::T_MINUS]);
37 37
             $fields[$this->fieldNameParser->parse($tokenStream)] = $direction->test(Token::T_PLUS) ?
38
-                SortNode::SORT_ASC :
39
-                SortNode::SORT_DESC;
38
+                SortNode::SORT_ASC : SortNode::SORT_DESC;
40 39
 
41 40
             if (!$tokenStream->nextIf(Token::T_COMMA)) {
42 41
                 break;
Please login to merge, or discard this patch.