We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3c320c commit c1f7a60Copy full SHA for c1f7a60
src/Internal/Hydration/ScalarColumnHydrator.php
@@ -7,7 +7,6 @@
7
use Doctrine\DBAL\Driver\Exception;
8
use Doctrine\ORM\Exception\MultipleSelectorsFoundException;
9
10
-use function array_column;
11
use function count;
12
13
/**
@@ -27,8 +26,6 @@ protected function hydrateAllData(): array
27
26
throw MultipleSelectorsFoundException::create($this->resultSetMapping()->fieldMappings);
28
}
29
30
- $result = $this->statement()->fetchAllNumeric();
31
-
32
- return array_column($result, 0);
+ return $this->statement()->fetchFirstColumn();
33
34
0 commit comments