1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

fix: UnitEnum::cases() returns enums ordered by declaration (#2299)

This commit is contained in:
Ben Davies
2023-02-15 23:21:02 +00:00
committed by GitHub
parent c03200d4f9
commit 787d71d9c0

View File

@@ -12,7 +12,7 @@
<void/>
</methodsynopsis>
<para>
This method will return a packed array of all cases in an enumeration, in lexical order.
This method will return a packed array of all cases in an enumeration, in order of declaration.
</para>
</refsect1>
@@ -25,7 +25,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
An array of all defined cases of this enumeration, in lexical order.
An array of all defined cases of this enumeration, in order of declaration.
</para>
</refsect1>