Skip to content
Permalink
Browse files

Fix #2368 - don’t register class-file mapping

Sometimes it’s not a real class there, just a class_alias call
  • Loading branch information
muglug committed Dec 2, 2019
1 parent baef660 commit 5fe3a4a5a9e7844a30dfb72fd1a06f5c04c306ab
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/Psalm/Internal/Codebase/ClassLikes.php
@@ -247,8 +247,6 @@ public function addFullyQualifiedTraitName($fq_class_name, $file_path = null)
*/
public function addFullyQualifiedClassLikeName($fq_class_name_lc, $file_path = null)
{
$this->existing_classlikes_lc[$fq_class_name_lc] = true;
if ($file_path) {
$this->scanner->setClassLikeFilePath($fq_class_name_lc, $file_path);
}

0 comments on commit 5fe3a4a

Please sign in to comment.
You can’t perform that action at this time.