diff --git a/src/Bridge/Doctrine/DBAL/Types/AbstractJsonCollectionEnumType.php b/src/Bridge/Doctrine/DBAL/Types/AbstractJsonCollectionEnumType.php index dd531f28..aa67a3b8 100644 --- a/src/Bridge/Doctrine/DBAL/Types/AbstractJsonCollectionEnumType.php +++ b/src/Bridge/Doctrine/DBAL/Types/AbstractJsonCollectionEnumType.php @@ -38,5 +38,13 @@ public function convertToPHPValue($value, AbstractPlatform $platform) return $values; } + /** + * {@inheritdoc} + */ + public function requiresSQLCommentHint(AbstractPlatform $platform) + { + return true; + } + abstract protected function getEnumClass(): string; }