Completed
Push — master ( 8310cf...550f0c )
by Alexander
03:09
created
src/TokenParser/SortTokenParser.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,7 @@
 block discarded – undo
23 23
         do {
24 24
             $direction = $tokenStream->expect([Token::T_PLUS, Token::T_MINUS]);
25 25
             $fields[$tokenStream->expect(Token::T_STRING)->getValue()] = $direction->test(Token::T_PLUS) ?
26
-                SortNode::SORT_ASC :
27
-                SortNode::SORT_DESC;
26
+                SortNode::SORT_ASC : SortNode::SORT_DESC;
28 27
 
29 28
             if (!$tokenStream->nextIf(Token::T_COMMA)) {
30 29
                 break;
Please login to merge, or discard this patch.