1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 16:59:45 +01:00
psalm/docs/running_psalm/issues/NoEnumProperties.md
2021-11-06 21:57:49 +02:00

179 B

NoEnumProperties

Emitted when there a property defined on an enum, as PHP does not allow user-defined properties on enums.

<?php

enum Status {
    public $prop;
}