From 4f9cf54005c281511622548c14cb4081ef5f770f Mon Sep 17 00:00:00 2001 From: Brown Date: Mon, 4 Nov 2019 10:13:12 -0500 Subject: [PATCH] Use unaliased name for external hook --- 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 dd7fec41c..e6d748864 100644 --- a/src/Psalm/Codebase.php +++ b/src/Psalm/Codebase.php @@ -774,7 +774,7 @@ class Codebase */ public function getParentInterfaces($fq_interface_name) { - return $this->classlikes->getParentInterfaces($fq_interface_name); + return $this->classlikes->getParentInterfaces($this->classlikes->getUnAliasedName($fq_interface_name)); } /**