mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fixed exhuming enums as enums, not as classes
This commit is contained in:
parent
8d1876a8a3
commit
1787960027
@ -553,6 +553,8 @@ final class Codebase
|
||||
$this->classlikes->addFullyQualifiedTraitName($storage->name, $file_path);
|
||||
} elseif ($storage->is_interface) {
|
||||
$this->classlikes->addFullyQualifiedInterfaceName($storage->name, $file_path);
|
||||
} elseif ($storage->is_enum) {
|
||||
$this->classlikes->addFullyQualifiedEnumName($storage->name, $file_path);
|
||||
} else {
|
||||
$this->classlikes->addFullyQualifiedClassName($storage->name, $file_path);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user