Skip to content

Commit fe9f427

Browse files
actions-userTomasVotruba
authored andcommitted
[ci-review] Rector Rectify
1 parent 58cf576 commit fe9f427

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/StaticTypeMapper/Mapper/PhpParserNodeMapper.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function mapToPHPStanType(Node $node): Type
2626

2727
foreach ($this->phpParserNodeMappers as $phpParserNodeMapper) {
2828
$nodeType = $phpParserNodeMapper->getNodeType();
29-
if (! is_a($node, $nodeType)) {
29+
if (! $node instanceof $nodeType) {
3030
continue;
3131
}
3232

0 commit comments

Comments
 (0)