1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 02:07:37 +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);
[$reference_map, $type_map] = $this->analyzer->getMapsForFile(
$file_path,
$file_path
);
if (!$reference_map && !$type_map) {