Skip to content

Commit

Permalink
Merge pull request #6964 from ricardoboss/master
Browse files Browse the repository at this point in the history
Make UnitEnum name property non-empty
  • Loading branch information
orklah committed Nov 22, 2021
2 parents 9943efb + f93c84b commit 5b51569
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stubs/Php81.phpstub
@@ -1,6 +1,9 @@
<?php
namespace {
interface UnitEnum {
/** @var non-empty-string $name */
public readonly string $name;

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

0 comments on commit 5b51569

Please sign in to comment.