mirror of
https://github.com/danog/psalm.git
synced 2024-12-14 02:07:37 +01:00
832a190dd4
* Add initial enum preparation * Support cases method * Ignore bad use error cc @weirdan * Fix type
7 lines
115 B
Plaintext
7 lines
115 B
Plaintext
<?php
|
|
|
|
interface UnitEnum {
|
|
/** @return non-empty-list<static> */
|
|
public static function cases(): array;
|
|
}
|