Skip to content

Commit dc96123

Browse files
committed
early
1 parent 24b96cf commit dc96123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/Php85/Rector/FuncCall/ArrayKeyExistsNullToEmptyStringRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ public function refactor(Node $node): ?Node
9090
return null;
9191
}
9292

93-
$parametersAcceptor = ParametersAcceptorSelectorVariantsWrapper::select($functionReflection, $node, $scope);
9493
$argPosition = $this->argsAnalyzer->resolveArgPosition($args, 'key', 0);
9594
$originalType = $this->getType($args[$argPosition]->value);
9695

@@ -101,6 +100,7 @@ public function refactor(Node $node): ?Node
101100
}
102101
}
103102

103+
$parametersAcceptor = ParametersAcceptorSelectorVariantsWrapper::select($functionReflection, $node, $scope);
104104
$result = $this->nullToStrictStringIntConverter->convertIfNull(
105105
$node,
106106
$args,

0 commit comments

Comments
 (0)