From ea839a4b52367ca4b494c6a4e8ad5c43e421d495 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 21 Dec 2021 14:54:28 +0100 Subject: [PATCH] fix: Add missing UUID doctrine type. --- .../DependencyInjection/ChillMainExtension.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/Bundle/ChillMainBundle/DependencyInjection/ChillMainExtension.php b/src/Bundle/ChillMainBundle/DependencyInjection/ChillMainExtension.php index 2a64c36a4..d25723adc 100644 --- a/src/Bundle/ChillMainBundle/DependencyInjection/ChillMainExtension.php +++ b/src/Bundle/ChillMainBundle/DependencyInjection/ChillMainExtension.php @@ -38,6 +38,7 @@ use Chill\MainBundle\Form\LocationTypeType; use Chill\MainBundle\Form\UserJobType; use Chill\MainBundle\Form\UserType; use Exception; +use Ramsey\Uuid\Doctrine\UuidType; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; @@ -229,12 +230,9 @@ class ChillMainExtension extends Extension implements 'geometry' => 'string', ], 'types' => [ - 'dateinterval' => [ - 'class' => NativeDateIntervalType::class, - ], - 'point' => [ - 'class' => PointType::class, - ], + 'dateinterval' => NativeDateIntervalType::class, + 'point' => PointType::class, + 'uuid' => UuidType::class ], ], ]