Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
clxmstaab committed Feb 9, 2022
1 parent 3a8771c commit 03b24d9
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function specifyTypes(MethodReflection $methodReflection, MethodCall $nod
return $this->typeSpecifier->create($methodCall->var, $statementType, TypeSpecifierContext::createTruthy(), true);
}

return $this->typeSpecifier->create($methodCall->var, $statementType, TypeSpecifierContext::createTruthy());
return new SpecifiedTypes();
}

private function reduceType(MethodCall $methodCall, Type $statementType, Scope $scope): ?Type
Expand Down

0 comments on commit 03b24d9

Please sign in to comment.