mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
missing return
This commit is contained in:
parent
b4e0f83186
commit
e61d490662
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user