From ea5186c4a6cbb304de40afdcc652c25c8b38db70 Mon Sep 17 00:00:00 2001 From: mikolaj Date: Tue, 22 Oct 2024 08:57:44 +0200 Subject: [PATCH] [PHPStan] Adjusted code to the newest version of twig package --- eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php b/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php index 0d10379826..89f65d27d7 100644 --- a/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php +++ b/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php @@ -76,9 +76,9 @@ public function getSourceContext(): Source return new Source('', ''); } - protected function doDisplay(array $context, array $blocks = []): string + protected function doDisplay(array $context, array $blocks = []): iterable { - return ''; + return []; } /**