Skip to content

Commit

Permalink
Fixed call to removed method QueryBuilder::add()
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienHarper committed Sep 2, 2024
1 parent 9d6a0c0 commit af891c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Provider/Doctrine/Persistence/Reader/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function count(): int

try {
$queryBuilder
->add('select', 'COUNT(id)', false)
->select('COUNT(id)')
->resetOrderBy()
->setMaxResults(null)
->setFirstResult(0)
Expand Down

0 comments on commit af891c9

Please sign in to comment.