Skip to content

Commit 1dafa98

Browse files
authored
Fix code sample in AddArrayFunctionClosureParamTypeRector (#7163)
1 parent 08f39c3 commit 1dafa98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/TypeDeclaration/Rector/FuncCall/AddArrayFunctionClosureParamTypeRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function getRuleDefinition(): RuleDefinition
4747
,
4848
<<<'CODE_SAMPLE'
4949
$items = [1, 2, 3];
50-
$result = array_filter($items, fn (int $item) => $item > 1
50+
$result = array_filter($items, fn (int $item) => $item > 1);
5151
CODE_SAMPLE
5252
),
5353

0 commit comments

Comments
 (0)