Skip to content

Commit

Permalink
Merge pull request #7197 from azjezz/patch-1
Browse files Browse the repository at this point in the history
fix(stubs): UnitEnum::cases() can return an empty list
  • Loading branch information
orklah committed Dec 21, 2021
2 parents 8ce6c26 + 40ab655 commit 98f8044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/Php81.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace {

/**
* @psalm-pure
* @return non-empty-list<static>
* @return list<static>
*/
public static function cases(): array;
}
Expand Down

0 comments on commit 98f8044

Please sign in to comment.