1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
psalm/stubs/Php81.phpstub
Matthew Brown 832a190dd4
Support enums (#5699)
* Add initial enum preparation

* Support cases method

* Ignore bad use error

cc @weirdan

* Fix type
2021-05-03 17:54:09 -04:00

7 lines
115 B
Plaintext

<?php
interface UnitEnum {
/** @return non-empty-list<static> */
public static function cases(): array;
}