From 52206b8a9cd6c7d0f9bd9b9a216a761616942d55 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Wed, 10 Sep 2025 20:40:29 +0700 Subject: [PATCH] chore: Run latest Rector to apply return type on ParserTest for ArrowFunction --- tests/system/View/ParserTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system/View/ParserTest.php b/tests/system/View/ParserTest.php index a8e79299a1c1..5d81e177ee66 100644 --- a/tests/system/View/ParserTest.php +++ b/tests/system/View/ParserTest.php @@ -787,7 +787,7 @@ public function testParserPluginNoMatches(): void public function testParserPluginNoParams(): void { - $this->parser->addPlugin('hit:it', static fn ($str) => str_replace('here', 'Hip to the Hop', $str), true); + $this->parser->addPlugin('hit:it', static fn (string $str): string => str_replace('here', 'Hip to the Hop', $str), true); $template = '{+ hit:it +} stuff here {+ /hit:it +}';