mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Fix location
This commit is contained in:
parent
9e64670e42
commit
4232bfb6e6
@ -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()
|
||||
)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user