Skip to content

Commit 00ef9df

Browse files
staabmondrejmirtes
authored andcommitted
Fixed typo in ParameterOutExtensions
1 parent 3cbf045 commit 00ef9df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Analyser/NodeScopeResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4550,7 +4550,7 @@ private function processArgs(
45504550
$argValue = $arg->value;
45514551
if ($argValue instanceof Variable && is_string($argValue->name)) {
45524552
if ($argValue->name !== 'this') {
4553-
$paramOutType = $this->getParameterOutExtensionsTypes($callLike, $calleeReflection, $currentParameter, $scope);
4553+
$paramOutType = $this->getParameterOutExtensionsType($callLike, $calleeReflection, $currentParameter, $scope);
45544554
if ($paramOutType !== null) {
45554555
$byRefType = $paramOutType;
45564556
}
@@ -4625,7 +4625,7 @@ private function getParameterTypeFromParameterClosureTypeExtension(CallLike $cal
46254625
/**
46264626
* @param MethodReflection|FunctionReflection|null $calleeReflection
46274627
*/
4628-
public function getParameterOutExtensionsTypes(CallLike $callLike, $calleeReflection, ParameterReflection $currentParameter, MutatingScope $scope): ?Type
4628+
private function getParameterOutExtensionsType(CallLike $callLike, $calleeReflection, ParameterReflection $currentParameter, MutatingScope $scope): ?Type
46294629
{
46304630
$paramOutTypes = [];
46314631
if ($callLike instanceof FuncCall && $calleeReflection instanceof FunctionReflection) {

0 commit comments

Comments
 (0)