From 26347665e52c67637f6145d7d63af9f5dff9c362 Mon Sep 17 00:00:00 2001 From: Arne <1255879+arneee@users.noreply.github.com> Date: Fri, 7 Jan 2022 21:23:42 +0100 Subject: [PATCH] Fix deprecation warning for native return types Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Ibericode\Vat\Bundle\VatBundle" now to avoid errors or add an explicit @return annotation to suppress this message. https://wouterj.nl/2021/09/symfony-6-native-typing --- src/VatBundle.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/VatBundle.php b/src/VatBundle.php index 3353ee4..d88a8b4 100644 --- a/src/VatBundle.php +++ b/src/VatBundle.php @@ -1,12 +1,13 @@