1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

missing return

This commit is contained in:
orklah 2021-09-25 16:49:46 +02:00
parent b4e0f83186
commit e61d490662

View File

@ -69,5 +69,7 @@ class OffsetShifterVisitor extends PhpParser\NodeVisitorAbstract
$attrs['endFilePos'] + $this->file_offset + ($this->extra_offsets[$attrs['endFilePos']] ?? 0)
);
$node->setAttribute('startLine', $attrs['startLine'] + $this->line_offset);
return null;
}
}