Skip to content

Commit

Permalink
Fixed failing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienHarper committed Mar 10, 2022
1 parent 657164b commit dfe29e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@ parameters:
- '~Method DH\\Auditor\\Provider\\Doctrine\\Persistence\\Reader\\Filter\\RangeFilter\:\:__construct\(\) has parameter \$minValue with no type specified~'
- '~Method DH\\Auditor\\Provider\\Doctrine\\Persistence\\Reader\\Filter\\RangeFilter\:\:__construct\(\) has parameter \$maxValue with no type specified~'
- '~Method DH\\Auditor\\Provider\\Doctrine\\Persistence\\Reader\\Filter\\SimpleFilter\:\:__construct\(\) has parameter \$value with no type specified.~'
- '~Cannot call method fetchColumn\(\) on Doctrine\\DBAL\\Result\|int\.~'
- '~Property DH\\Auditor\\Provider\\Doctrine\\Configuration\:\:\$(auditing|storage)Services is never read, only written\.~'
- '~Method DH\\Auditor\\Provider\\Doctrine\\Persistence\\Helper\\DoctrineHelper\:\:getDoctrineType\(\) should return string but returns mixed\.~'
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 @@ -92,7 +92,7 @@ public function count(): int
;
} else {
// doctrine/dbal v2.13.x
$result = $queryBuilder
$result = $queryBuilder // @phpstan-ignore-line
->execute()
->fetchColumn(0)
;
Expand Down

0 comments on commit dfe29e1

Please sign in to comment.