Skip to content

Commit

Permalink
Merge pull request #3307 from abdellahrk/issue-3186-optional-paramete…
Browse files Browse the repository at this point in the history
…r-declared-before-required

Issue: #3186. Fix depraction notice in PHP8.0 and above
  • Loading branch information
bobdenotter authored Aug 30, 2022
2 parents fe40d1e + 6a02586 commit e5845e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Storage/SelectQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ class SelectQuery implements QueryInterface
* Constructor.
*/
public function __construct(
?QueryBuilder $qb = null,
QueryParameterParser $parser,
Config $config,
EntityManagerInterface $em,
FieldQueryUtils $utils
FieldQueryUtils $utils,
?QueryBuilder $qb = null
) {
$this->qb = $qb;
$this->parser = $parser;
Expand Down

0 comments on commit e5845e5

Please sign in to comment.