From 72d6f20556ca4ac693c731a4b93835b0d70ca150 Mon Sep 17 00:00:00 2001 From: "Phil E. Taylor" Date: Sat, 6 May 2023 12:11:46 +0100 Subject: [PATCH] suppress native return type deprecation msg --- .../Compiler/MissingExtensionSuggestorPass.php | 1 + .../twig-extra-bundle/DependencyInjection/TwigExtraExtension.php | 1 + 2 files changed, 2 insertions(+) diff --git a/extra/twig-extra-bundle/DependencyInjection/Compiler/MissingExtensionSuggestorPass.php b/extra/twig-extra-bundle/DependencyInjection/Compiler/MissingExtensionSuggestorPass.php index 3f3cca62a3..245e5bfd1d 100644 --- a/extra/twig-extra-bundle/DependencyInjection/Compiler/MissingExtensionSuggestorPass.php +++ b/extra/twig-extra-bundle/DependencyInjection/Compiler/MissingExtensionSuggestorPass.php @@ -18,6 +18,7 @@ class MissingExtensionSuggestorPass implements CompilerPassInterface { + /** @return void */ public function process(ContainerBuilder $container) { if ($container->getParameter('kernel.debug')) { diff --git a/extra/twig-extra-bundle/DependencyInjection/TwigExtraExtension.php b/extra/twig-extra-bundle/DependencyInjection/TwigExtraExtension.php index 0f57d71f36..a1d5decd56 100644 --- a/extra/twig-extra-bundle/DependencyInjection/TwigExtraExtension.php +++ b/extra/twig-extra-bundle/DependencyInjection/TwigExtraExtension.php @@ -23,6 +23,7 @@ */ class TwigExtraExtension extends Extension { + /** @return void */ public function load(array $configs, ContainerBuilder $container) { $loader = new PhpFileLoader($container, new FileLocator(\dirname(__DIR__).'/Resources/config'));