@@ -627,7 +627,7 @@ public function walkPathExpression(AST\PathExpression $pathExpr): string
627
627
public function walkSelectClause (AST \SelectClause $ selectClause ): string
628
628
{
629
629
$ sql = 'SELECT ' . ($ selectClause ->isDistinct ? 'DISTINCT ' : '' );
630
- $ sqlSelectExpressions = array_filter (array_map ([ $ this , ' walkSelectExpression ' ] , $ selectClause ->selectExpressions ));
630
+ $ sqlSelectExpressions = array_filter (array_map ($ this -> walkSelectExpression (...) , $ selectClause ->selectExpressions ));
631
631
632
632
if ($ this ->query ->getHint (Query::HINT_INTERNAL_ITERATION ) === true && $ selectClause ->isDistinct ) {
633
633
$ this ->query ->setHint (self ::HINT_DISTINCT , true );
@@ -1043,7 +1043,7 @@ public function walkFunction(AST\Functions\FunctionNode $function): string
1043
1043
*/
1044
1044
public function walkOrderByClause (AST \OrderByClause $ orderByClause ): string
1045
1045
{
1046
- $ orderByItems = array_map ([ $ this , ' walkOrderByItem ' ] , $ orderByClause ->orderByItems );
1046
+ $ orderByItems = array_map ($ this -> walkOrderByItem (...) , $ orderByClause ->orderByItems );
1047
1047
1048
1048
$ collectionOrderByItems = $ this ->generateOrderedCollectionOrderByItems ();
1049
1049
if ($ collectionOrderByItems !== '' ) {
@@ -1677,7 +1677,7 @@ public function walkUpdateClause(AST\UpdateClause $updateClause): string
1677
1677
$ this ->setSQLTableAlias ($ tableName , $ tableName , $ updateClause ->aliasIdentificationVariable );
1678
1678
$ this ->rootAliases [] = $ updateClause ->aliasIdentificationVariable ;
1679
1679
1680
- return $ sql . ' SET ' . implode (', ' , array_map ([ $ this , ' walkUpdateItem ' ] , $ updateClause ->updateItems ));
1680
+ return $ sql . ' SET ' . implode (', ' , array_map ($ this -> walkUpdateItem (...) , $ updateClause ->updateItems ));
1681
1681
}
1682
1682
1683
1683
/**
@@ -1756,7 +1756,7 @@ public function walkConditionalExpression(
1756
1756
return $ this ->walkConditionalTerm ($ condExpr );
1757
1757
}
1758
1758
1759
- return implode (' OR ' , array_map ([ $ this , ' walkConditionalTerm ' ] , $ condExpr ->conditionalTerms ));
1759
+ return implode (' OR ' , array_map ($ this -> walkConditionalTerm (...) , $ condExpr ->conditionalTerms ));
1760
1760
}
1761
1761
1762
1762
/**
@@ -1771,7 +1771,7 @@ public function walkConditionalTerm(
1771
1771
return $ this ->walkConditionalFactor ($ condTerm );
1772
1772
}
1773
1773
1774
- return implode (' AND ' , array_map ([ $ this , ' walkConditionalFactor ' ] , $ condTerm ->conditionalFactors ));
1774
+ return implode (' AND ' , array_map ($ this -> walkConditionalFactor (...) , $ condTerm ->conditionalFactors ));
1775
1775
}
1776
1776
1777
1777
/**
@@ -1953,7 +1953,7 @@ public function walkInListExpression(AST\InListExpression $inExpr): string
1953
1953
{
1954
1954
return $ this ->walkArithmeticExpression ($ inExpr ->expression )
1955
1955
. ($ inExpr ->not ? ' NOT ' : '' ) . ' IN ( '
1956
- . implode (', ' , array_map ([ $ this , ' walkInParameter ' ] , $ inExpr ->literals ))
1956
+ . implode (', ' , array_map ($ this -> walkInParameter (...) , $ inExpr ->literals ))
1957
1957
. ') ' ;
1958
1958
}
1959
1959
@@ -2134,7 +2134,7 @@ public function walkSimpleArithmeticExpression(AST\Node|string $simpleArithmetic
2134
2134
return $ this ->walkArithmeticTerm ($ simpleArithmeticExpr );
2135
2135
}
2136
2136
2137
- return implode (' ' , array_map ([ $ this , ' walkArithmeticTerm ' ] , $ simpleArithmeticExpr ->arithmeticTerms ));
2137
+ return implode (' ' , array_map ($ this -> walkArithmeticTerm (...) , $ simpleArithmeticExpr ->arithmeticTerms ));
2138
2138
}
2139
2139
2140
2140
/**
@@ -2154,7 +2154,7 @@ public function walkArithmeticTerm(AST\Node|string $term): string
2154
2154
return $ this ->walkArithmeticFactor ($ term );
2155
2155
}
2156
2156
2157
- return implode (' ' , array_map ([ $ this , ' walkArithmeticFactor ' ] , $ term ->arithmeticFactors ));
2157
+ return implode (' ' , array_map ($ this -> walkArithmeticFactor (...) , $ term ->arithmeticFactors ));
2158
2158
}
2159
2159
2160
2160
/**
0 commit comments