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

Fix additional ref

This commit is contained in:
Matthew Brown 2016-10-13 19:13:57 -04:00
parent 9adc30ecd9
commit 2406e0b190

View File

@ -3236,7 +3236,7 @@ class StatementsChecker
$this->warn_vars[$use->var] = true;
if (IssueBuffer::accepts(
new PossiblyUndefinedVariable(
'Possibly undefined variable $' . $use->var . ', first seen on line ' . $this->all_vars[$use->var],
'Possibly undefined variable $' . $use->var . ', first seen on line ' . $this->all_vars['$' . $use->var],
$this->checked_file_name,
$use->getLine()
),