Skip to content

Commit

Permalink
use selectFromArgs() for CallLike
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Sep 20, 2024
1 parent 299c744 commit 5e7bde2
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ public static function select(
return ParametersAcceptorSelector::selectSingle($variants);
}

return count($variants) > 1
? ParametersAcceptorSelector::selectFromArgs($scope, $node->getArgs(), $variants)
: ParametersAcceptorSelector::selectSingle($variants);
return ParametersAcceptorSelector::selectFromArgs($scope, $node->getArgs(), $variants);
}
}

0 comments on commit 5e7bde2

Please sign in to comment.