From fa3e99954d8a14159b79f38fc3de8a016efe3362 Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Fri, 31 May 2019 18:48:52 +0200 Subject: [PATCH] To avoid deprecation notices --- DBAL/Type/ImplodedArray.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/DBAL/Type/ImplodedArray.php b/DBAL/Type/ImplodedArray.php index bcfb7594..faadfcc8 100644 --- a/DBAL/Type/ImplodedArray.php +++ b/DBAL/Type/ImplodedArray.php @@ -60,6 +60,11 @@ public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $pla return parent::getSQLDeclaration($fieldDeclaration, $platform); } + public function requiresSQLCommentHint(AbstractPlatform $platform) + { + return true; + } + private function assertValueCanBeImploded($value): void { if (null === $value) {