Skip to content

Commit

Permalink
fix: order by walker signature
Browse files Browse the repository at this point in the history
Co-authored-by: muchafm <[email protected]>
  • Loading branch information
clementvtrd and muchafm committed Mar 8, 2024
1 parent ac70448 commit 0564d62
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
7 changes: 0 additions & 7 deletions phpstan-baseline.neon

This file was deleted.

2 changes: 0 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@ parameters:
level: 5
paths:
- src
includes:
- phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class OrderByWalker extends TreeWalkerAdapter
* Walks down a SelectStatement AST node, modifying it to
* sort the query like requested by url
*/
public function walkSelectStatement(SelectStatement $AST): string
public function walkSelectStatement(SelectStatement $AST): void
{
$query = $this->_getQuery();
$fields = (array)$query->getHint(self::HINT_PAGINATOR_SORT_FIELD);
Expand Down Expand Up @@ -90,7 +90,5 @@ public function walkSelectStatement(SelectStatement $AST): string
$AST->orderByClause = new OrderByClause([$orderByItem]);
}
}

return '';
}
}

0 comments on commit 0564d62

Please sign in to comment.