diff --git a/src/Psalm/Internal/LanguageServer/Codebase.php b/src/Psalm/Internal/LanguageServer/Codebase.php index 8bdf7fddb..c165ffbae 100644 --- a/src/Psalm/Internal/LanguageServer/Codebase.php +++ b/src/Psalm/Internal/LanguageServer/Codebase.php @@ -965,7 +965,7 @@ class Codebase extends PsalmCodebase ); $declaring_method_id = $this->methods->getDeclaringMethodId( - $method_id, + $method_id ); if ($declaring_method_id === null) {