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

Fix location

This commit is contained in:
Matthew Brown 2020-03-15 23:29:42 -04:00
parent 9e64670e42
commit 4232bfb6e6

View File

@ -348,7 +348,7 @@ class AssignmentAnalyzer
$var_id
? 'Unable to determine the type that ' . $var_id . ' is being assigned to'
: 'Unable to determine the type of this assignment',
new CodeLocation($statements_analyzer->getSource(), $assign_value ?: $assign_var)
new CodeLocation($statements_analyzer->getSource(), $assign_var)
),
$statements_analyzer->getSuppressedIssues()
)) {