File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Analyser/Generator/ExprHandler Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -126,8 +126,8 @@ public function processClosureNode(
126126 $ inAssignRightSideVariableName === $ use ->var ->name
127127 && $ inAssignRightSideExpr !== null
128128 ) {
129- $ inAssignRighSideExprTypeResult = yield new TypeExprRequest ($ inAssignRightSideExpr );
130- $ inAssignRightSideType = $ inAssignRighSideExprTypeResult ->type ;
129+ $ inAssignRightSideExprTypeResult = yield new TypeExprRequest ($ inAssignRightSideExpr );
130+ $ inAssignRightSideType = $ inAssignRightSideExprTypeResult ->type ;
131131 if ($ inAssignRightSideType instanceof ClosureType) {
132132 $ variableType = $ inAssignRightSideType ;
133133 } else {
@@ -138,7 +138,7 @@ public function processClosureNode(
138138 $ variableType = TypeCombinator::union ($ scope ->getVariableType ($ inAssignRightSideVariableName ), $ inAssignRightSideType );
139139 }
140140 }
141- $ inAssignRightSideNativeType = $ inAssignRighSideExprTypeResult ->nativeType ;
141+ $ inAssignRightSideNativeType = $ inAssignRightSideExprTypeResult ->nativeType ;
142142 if ($ inAssignRightSideNativeType instanceof ClosureType) {
143143 $ variableNativeType = $ inAssignRightSideNativeType ;
144144 } else {
You can’t perform that action at this time.
0 commit comments