mirror of
https://github.com/danog/psalm.git
synced 2024-12-04 02:27:59 +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
|
public function getReferenceAtPosition(string $file_path, Position $position): ?array
|
||||||
{
|
{
|
||||||
$ref = $this->getReferenceAtPositionAsReference($file_path, $position);
|
$ref = $this->getReferenceAtPositionAsReference($file_path, $position);
|
||||||
if($ref === null) {
|
if ($ref === null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return [$ref->symbol, $ref->range];
|
return [$ref->symbol, $ref->range];
|
||||||
|
Loading…
Reference in New Issue
Block a user