From 6aa386e14aaf5faaf3251d944539343a6028b0ae Mon Sep 17 00:00:00 2001 From: ADmad Date: Fri, 11 Oct 2024 11:57:41 +0530 Subject: [PATCH] Fix error reported by static analyzer --- src/Twig/Extension/StringsExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Twig/Extension/StringsExtension.php b/src/Twig/Extension/StringsExtension.php index ffcf723..81876a8 100644 --- a/src/Twig/Extension/StringsExtension.php +++ b/src/Twig/Extension/StringsExtension.php @@ -52,7 +52,7 @@ public function getFilters(): array new TwigFilter('ascii', 'Cake\Utility\Text::ascii'), new TwigFilter('parseFileSize', 'Cake\Utility\Text::parseFileSize'), new TwigFilter('none', function ($string) { - return; + return ''; }), ]; }