mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Undo stupid
This commit is contained in:
parent
fc1ee03390
commit
97cab3c14e
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user