From 34678169006cf186dc2666321ee546d706cd6d33 Mon Sep 17 00:00:00 2001 From: Andrew Nagy Date: Thu, 2 Mar 2023 18:07:50 +0000 Subject: [PATCH] fix --- src/Psalm/Codebase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Codebase.php b/src/Psalm/Codebase.php index 16187ac67..915b45399 100644 --- a/src/Psalm/Codebase.php +++ b/src/Psalm/Codebase.php @@ -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];