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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user