mirror of
https://github.com/danog/psalm.git
synced 2024-12-12 01:09:38 +01:00
interface compat
This commit is contained in:
parent
bff08670f5
commit
6c892125c3
@ -18,7 +18,7 @@ class TypeMappingVisitor extends NodeVisitorAbstract
|
||||
$this->real_type_provider = $real_type_provider;
|
||||
}
|
||||
|
||||
public function enterNode(Node $node): void
|
||||
public function enterNode(Node $node)
|
||||
{
|
||||
$origNode = $node;
|
||||
|
||||
@ -29,5 +29,7 @@ class TypeMappingVisitor extends NodeVisitorAbstract
|
||||
/** @psalm-suppress ArgumentTypeCoercion */
|
||||
$this->real_type_provider->setType($origNode, clone $node_type);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user