Skip to content

Commit c75a8b8

Browse files
committed
Remember resolved types after pushInFunctionCall
1 parent ff39220 commit c75a8b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Analyser/MutatingScope.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2927,7 +2927,7 @@ public function pushInFunctionCall($reflection, ?ParameterReflection $parameter)
29272927
$stack = $this->inFunctionCallsStack;
29282928
$stack[] = [$reflection, $parameter];
29292929

2930-
return $this->scopeFactory->create(
2930+
$functionScope = $this->scopeFactory->create(
29312931
$this->context,
29322932
$this->isDeclareStrictTypes(),
29332933
$this->getFunction(),

0 commit comments

Comments
 (0)