1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Docblock-provided type is not inferred

This commit is contained in:
Matthew Brown 2020-02-12 11:34:48 -05:00
parent ba94c8cea8
commit 7d88100ad3

View File

@ -141,7 +141,9 @@ class AssignmentAnalyzer
$var_comment_type->check(
$statements_analyzer,
new CodeLocation($statements_analyzer->getSource(), $assign_var),
$statements_analyzer->getSuppressedIssues()
$statements_analyzer->getSuppressedIssues(),
[],
false
);
$type_location = null;