We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac70448 commit 3e6bb3eCopy full SHA for 3e6bb3e
src/Knp/Component/Pager/Event/Subscriber/Sortable/Doctrine/ORM/Query/OrderByWalker.php
@@ -34,7 +34,7 @@ class OrderByWalker extends TreeWalkerAdapter
34
* Walks down a SelectStatement AST node, modifying it to
35
* sort the query like requested by url
36
*/
37
- public function walkSelectStatement(SelectStatement $AST): string
+ public function walkSelectStatement(SelectStatement $AST): void
38
{
39
$query = $this->_getQuery();
40
$fields = (array)$query->getHint(self::HINT_PAGINATOR_SORT_FIELD);
@@ -90,7 +90,5 @@ public function walkSelectStatement(SelectStatement $AST): string
90
$AST->orderByClause = new OrderByClause([$orderByItem]);
91
}
92
93
-
94
- return '';
95
96
0 commit comments