We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a64246 commit 922f707Copy full SHA for 922f707
1 file changed
src/Webfactory/Slimdump/SlimdumpCommand.php
@@ -74,7 +74,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
74
// In DBAL 3, the SchemaManager parses DC2Type column comments and throws when encountering
75
// unknown types. We register a DummyType for any unknown type to work around this.
76
// In DBAL 4, the DC2Type comment mechanism was removed entirely, so this is no longer needed.
77
- if (class_exists(\Doctrine\DBAL\Events::class)) {
+ if (class_exists('\Doctrine\DBAL\Events')) {
78
$connection->getEventManager()->addEventSubscriber(new DummyTypeRegistrationEventSubscriber($connection->createSchemaManager()));
79
}
80
0 commit comments