1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-05 13:10:49 +01:00
psalm/docs/running_psalm/issues/NoEnumProperties.md

13 lines
179 B
Markdown
Raw Normal View History

# NoEnumProperties
Emitted when there a property defined on an enum, as PHP
does not allow user-defined properties on enums.
```php
<?php
enum Status {
public $prop;
}
```