1
0
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:
orklah 2021-12-21 15:18:55 +01:00 committed by GitHub
commit 98f80446a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ namespace {
/**
* @psalm-pure
* @return non-empty-list<static>
* @return list<static>
*/
public static function cases(): array;
}