Skip to content

Commit

Permalink
fix call to deprecated doctrine fetch() method (#452)
Browse files Browse the repository at this point in the history
Co-authored-by: abenamier <[email protected]>
  • Loading branch information
shadowalkerCode-007 and abenamier authored Mar 15, 2024
1 parent 7c8531f commit 13db0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Util/Doctrine/SingleColumnArrayHydrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected function hydrateAllData()
{
$result = [];

while ($data = $this->_stmt->fetch(\PDO::FETCH_NUM)) {
while ($data = $this->_stmt->fetchNumeric()) {
$value = $data[0];

if (is_numeric($value)) {
Expand Down

0 comments on commit 13db0ec

Please sign in to comment.