From 42c60050bf0e7baf53f478505fcbb76b297c22cf Mon Sep 17 00:00:00 2001 From: Laurent Bientz Date: Mon, 22 May 2023 20:14:06 +0200 Subject: [PATCH] chore: symfony 6 support --- src/DependencyInjection/WelpMailchimpExtension.php | 2 +- src/WelpMailchimpBundle.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DependencyInjection/WelpMailchimpExtension.php b/src/DependencyInjection/WelpMailchimpExtension.php index f43e7c9..72c3a2e 100644 --- a/src/DependencyInjection/WelpMailchimpExtension.php +++ b/src/DependencyInjection/WelpMailchimpExtension.php @@ -30,7 +30,7 @@ public function load(array $configs, ContainerBuilder $container) $this->loadSubscriberProviders($container, $config['lists']); } - public function getAlias() + public function getAlias(): string { return 'welp_mailchimp'; } diff --git a/src/WelpMailchimpBundle.php b/src/WelpMailchimpBundle.php index 2138493..a1136e1 100644 --- a/src/WelpMailchimpBundle.php +++ b/src/WelpMailchimpBundle.php @@ -7,7 +7,7 @@ class WelpMailchimpBundle extends Bundle { - public function getContainerExtension() + public function getContainerExtension(): WelpMailchimpExtension { return new WelpMailchimpExtension(); }