From 421c9eb4121771e07a196050f417b4f9f37642c3 Mon Sep 17 00:00:00 2001 From: kenjis Date: Sun, 22 Oct 2023 17:26:09 +0900 Subject: [PATCH] refactor: fix return type --- system/View/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/View/Parser.php b/system/View/Parser.php index 600c46387826..2fc07edce742 100644 --- a/system/View/Parser.php +++ b/system/View/Parser.php @@ -621,7 +621,7 @@ protected function applyFilters(string $replace, array $filters): string $replace = $this->config->filters[$filter]($replace, ...$param); } - return $replace; + return (string) $replace; } // Plugins