1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Remove an if statement that repeats the previous if statement (#3840)

They're the exact same variables.
This commit is contained in:
Tyson Andre 2020-07-17 19:46:06 -04:00 committed by GitHub
parent 9ca8fb80b7
commit 060ae61f31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]);
}