Skip to content

Commit

Permalink
Merge branch 'master' into raise-phpstan-level
Browse files Browse the repository at this point in the history
  • Loading branch information
garak committed Mar 24, 2024
2 parents b7b77d7 + 51f7053 commit aba9930
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
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: 6
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 aba9930

Please sign in to comment.