mirror of
https://github.com/danog/psalm.git
synced 2024-12-03 10:07:52 +01:00
fix
This commit is contained in:
parent
5eed370fa5
commit
3467816900
@ -1521,7 +1521,7 @@ final class Codebase
|
||||
public function getReferenceAtPosition(string $file_path, Position $position): ?array
|
||||
{
|
||||
$ref = $this->getReferenceAtPositionAsReference($file_path, $position);
|
||||
if($ref === null) {
|
||||
if ($ref === null) {
|
||||
return null;
|
||||
}
|
||||
return [$ref->symbol, $ref->range];
|
||||
|
Loading…
Reference in New Issue
Block a user