mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Merge pull request #7197 from azjezz/patch-1
fix(stubs): UnitEnum::cases() can return an empty list
This commit is contained in:
commit
98f80446a3
@ -6,7 +6,7 @@ namespace {
|
||||
|
||||
/**
|
||||
* @psalm-pure
|
||||
* @return non-empty-list<static>
|
||||
* @return list<static>
|
||||
*/
|
||||
public static function cases(): array;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user