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);