We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9960a09 commit 3d5ec5fCopy full SHA for 3d5ec5f
language/enumerations.xml
@@ -511,7 +511,7 @@ enum Size
511
512
<para>Enumerations may leverage traits, which will behave the same as on classes.
513
The caveat is that traits <literal>use</literal>d in an enum must not contain properties.
514
- They may only include methods and static methods. A trait with properties will
+ They may only include methods, static methods, and constants. A trait with properties will
515
result in a fatal error.
516
</para>
517
0 commit comments