mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
qa: use ClassLikes#getUnAliasedName
instead of accessing the classlike_aliases
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
This commit is contained in:
parent
5ef606a5f6
commit
158f2144b5
@ -680,11 +680,9 @@ class ClassLikes
|
||||
}
|
||||
|
||||
foreach ($class_storage->class_implements as $implementing_interface_lc => $_) {
|
||||
if (!isset($this->classlike_aliases[$implementing_interface_lc])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$aliased_interface_lc = strtolower($this->classlike_aliases[$implementing_interface_lc]);
|
||||
$aliased_interface_lc = strtolower(
|
||||
$this->getUnAliasedName($implementing_interface_lc)
|
||||
);
|
||||
|
||||
if ($aliased_interface_lc === $interface_id) {
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user