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.
2 parents 462a2da + fd9afc4 commit 3787b82Copy full SHA for 3787b82
src/Persistence/Mapping/Driver/MappingDriverChain.php
@@ -8,7 +8,7 @@
8
use Doctrine\Persistence\Mapping\MappingException;
9
10
use function array_keys;
11
-use function spl_object_hash;
+use function spl_object_id;
12
use function str_starts_with;
13
14
/**
@@ -81,7 +81,7 @@ public function getAllClassNames(): array
81
$driverClasses = [];
82
83
foreach ($this->drivers as $namespace => $driver) {
84
- $oid = spl_object_hash($driver);
+ $oid = spl_object_id($driver);
85
86
if (! isset($driverClasses[$oid])) {
87
$driverClasses[$oid] = $driver->getAllClassNames();
0 commit comments