mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Merge pull request #9988 from ygottschalk/fix/9968-exhume-enum
Fixed exhuming enums as enums, not as classes
This commit is contained in:
commit
1f92b8d822
@ -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