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

Undo stupid

This commit is contained in:
Matthew Brown 2016-05-24 10:21:22 -04:00
parent fc1ee03390
commit 97cab3c14e

View File

@ -1369,6 +1369,14 @@ class StatementsChecker
}
$method_checker->check($this_vars_in_scope, $this_vars_possibly_in_scope);
foreach ($this_vars_in_scope as $var => $type) {
$vars_possibly_in_scope[$var] = true;
}
foreach ($this_vars_in_scope as $var => $type) {
$vars_in_scope[$var] = $type;
}
}
}
}