From 060ae61f3144ed1e0e43a6f7b19b59d0e4b8ec80 Mon Sep 17 00:00:00 2001 From: Tyson Andre Date: Fri, 17 Jul 2020 19:46:06 -0400 Subject: [PATCH] Remove an if statement that repeats the previous if statement (#3840) They're the exact same variables. --- src/Psalm/Internal/Codebase/ClassLikes.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Psalm/Internal/Codebase/ClassLikes.php b/src/Psalm/Internal/Codebase/ClassLikes.php index 371f7abf7..80c6ce881 100644 --- a/src/Psalm/Internal/Codebase/ClassLikes.php +++ b/src/Psalm/Internal/Codebase/ClassLikes.php @@ -685,10 +685,6 @@ class ClassLikes return true; } - if (isset($this->classlike_aliases[strtolower($fq_interface_name)])) { - return true; - } - return isset($this->existing_interfaces[$fq_interface_name]); }