mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Correct the method name
Closes GH-1083.
This commit is contained in:
parent
ebee35a03a
commit
07fa5232bf
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
<methodparam><type class="union"><type>string</type><type>int</type></type><parameter>value</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
The <methodname>from</methodname> method translates a <type>string</type> or <type>int</type>
|
||||
The <methodname>tryFrom</methodname> method translates a <type>string</type> or <type>int</type>
|
||||
into the corresponding Enum case, if any. If there is no matching case defined, it will
|
||||
return null.
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue