Skip to content

Commit 82e234e

Browse files
committed
get position
1 parent bca6a54 commit 82e234e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/Rector/PassStrictParameterToFunctionParameterRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function refactor(Node $node): ?Node
6565
return null;
6666
}
6767

68-
$position = $functions[$currentFunctionName];
68+
$position = self::FUNCTION_WITH_ARG_POSITION[$currentFunctionName];
6969

7070
if (isset($node->args[$position]))
7171
{

0 commit comments

Comments
 (0)