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:
parent
f5b9dfe543
commit
b098b4e3b2
@ -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'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user