Skip to content

Commit 4387f32

Browse files
authored
Merge pull request #9714 from samsonasik/chore-return-arrow
chore: Run latest Rector to apply return type on ParserTest for ArrowFunction
2 parents aa2dcd6 + 52206b8 commit 4387f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/View/ParserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ public function testParserPluginNoMatches(): void
787787

788788
public function testParserPluginNoParams(): void
789789
{
790-
$this->parser->addPlugin('hit:it', static fn ($str) => str_replace('here', 'Hip to the Hop', $str), true);
790+
$this->parser->addPlugin('hit:it', static fn (string $str): string => str_replace('here', 'Hip to the Hop', $str), true);
791791

792792
$template = '{+ hit:it +} stuff here {+ /hit:it +}';
793793

0 commit comments

Comments
 (0)