mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Make UnitEnum name property non-empty
This commit is contained in:
parent
cd8ba5cd88
commit
6d58a708fc
@ -1,6 +1,9 @@
|
||||
<?php
|
||||
namespace {
|
||||
interface UnitEnum {
|
||||
/** @var non-empty-string $name */
|
||||
public string $name;
|
||||
|
||||
/** @return non-empty-list<static> */
|
||||
public static function cases(): array;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user