From 389f014d361ec8880d8c98cb4fa1f28e8656b3d0 Mon Sep 17 00:00:00 2001 From: nobohan Date: Tue, 5 Jul 2022 10:18:07 +0200 Subject: [PATCH] [event] fix deprecation (typing) --- src/Bundle/ChillEventBundle/Form/Type/PickEventType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillEventBundle/Form/Type/PickEventType.php b/src/Bundle/ChillEventBundle/Form/Type/PickEventType.php index 6b0b2d1ab..68500e55e 100644 --- a/src/Bundle/ChillEventBundle/Form/Type/PickEventType.php +++ b/src/Bundle/ChillEventBundle/Form/Type/PickEventType.php @@ -151,7 +151,7 @@ class PickEventType extends AbstractType } else { $centers = $this->authorizationHelper->getReachableCenters( $this->user, - $options['role'] + (string) $options['role'] ); }