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 d24ac05 commit 62fb93cCopy full SHA for 62fb93c
tests/Lib/TestCase.php
@@ -257,9 +257,9 @@ private function createEntityManager(
257
$entityManager = new EntityManager($connection, $config);
258
259
if (DbalType::hasType(PrimaryKey::DOCTRINE_TYPE_NAME)) {
260
- DbalType::overrideType(PrimaryKey::DOCTRINE_TYPE_NAME, $primaryKey);
+ DbalType::overrideType(PrimaryKey::DOCTRINE_TYPE_NAME, $primaryKey::class);
261
} else {
262
- DbalType::addType(PrimaryKey::DOCTRINE_TYPE_NAME, $primaryKey);
+ DbalType::addType(PrimaryKey::DOCTRINE_TYPE_NAME, $primaryKey::class);
263
}
264
265
$schemaTool = new SchemaTool($entityManager);
0 commit comments