1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 09:37:59 +01:00

Only warn about undefined this vars once

This commit is contained in:
Matthew Brown 2016-08-23 23:51:01 -04:00
parent 9dc0a088ea
commit 212edcd16b

View File

@ -1314,6 +1314,9 @@ class StatementsChecker
}
}
$context->vars_in_scope[$var_id] = Type::getMixed();
$stmt->inferredType = Type::getMixed();
return;
}