From 64688c785e21bf600807a1f17926295c06ecea6b Mon Sep 17 00:00:00 2001 From: Marcin Czarnecki Date: Mon, 5 Jun 2023 22:02:11 +0200 Subject: [PATCH] fix(symfony): Fix deprecations from Symfony 6.3 --- JMSSerializerBundle.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/JMSSerializerBundle.php b/JMSSerializerBundle.php index 89e97562..d151a2e5 100644 --- a/JMSSerializerBundle.php +++ b/JMSSerializerBundle.php @@ -16,10 +16,7 @@ class JMSSerializerBundle extends Bundle { - /** - * @return void - */ - public function build(ContainerBuilder $builder) + public function build(ContainerBuilder $builder): void { $builder->addCompilerPass(new AssignVisitorsPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION);