1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-05 20:48:45 +01:00
This commit is contained in:
Andrew Nagy 2022-04-28 18:46:30 +00:00
parent e5c5b4ae73
commit ed46c772d8

View File

@ -372,7 +372,7 @@ class Codebase extends PsalmCodebase
$offset = $position->toOffset($file_contents); $offset = $position->toOffset($file_contents);
[$reference_map, $type_map] = $this->analyzer->getMapsForFile( [$reference_map, $type_map] = $this->analyzer->getMapsForFile(
$file_path, $file_path
); );
if (!$reference_map && !$type_map) { if (!$reference_map && !$type_map) {