Skip to content

Commit 865bc4e

Browse files
committed
Fix coding style
1 parent a0e55bf commit 865bc4e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rules/DowngradePhp74/Rector/ArrowFunction/ArrowFunctionToAnonymousFunctionRector.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ public function refactor(Node $node): Closure
100100
if (! $isFound) {
101101
$isAlsoParam = in_array(
102102
$node->expr->expr->name,
103-
array_map(static fn ($param) => $param->var instanceof Variable ? $param->var->name : null, $node->params)
103+
array_map(
104+
static fn ($param) => $param->var instanceof Variable ? $param->var->name : null,
105+
$node->params
106+
)
104107
);
105108

106109
if (! $isAlsoParam) {

0 commit comments

Comments
 (0)