1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Fix implicit cast

This commit is contained in:
Matthew Brown 2019-08-18 11:21:26 -04:00
parent f5b9dfe543
commit b098b4e3b2

View File

@ -278,7 +278,7 @@ class StatementsAnalyzer extends SourceAnalyzer implements StatementsSource
$this_type = Type::parseString($trimmed);
$context->self = $trimmed;
$context->vars_in_scope['$this'] = $this_type;
$this->setFQCLN($this_type);
$this->setFQCLN($trimmed);
}
if (isset($comments['specials']['psalm-suppress'])) {