Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
clxmstaab committed Feb 6, 2022
1 parent 647f60f commit 973323a
Show file tree
Hide file tree
Showing 4 changed files with 172 additions and 58 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 973323a

Please sign in to comment.