mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fixed simplexml_import_dom return type
Closes GH-446.
This commit is contained in:
parent
c7d18f5a16
commit
2d2492f8d5
1 changed files with 2 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
|||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>SimpleXMLElement</type><type>false</type></type><methodname>simplexml_import_dom</methodname>
|
||||
<type class="union"><type>SimpleXMLElement</type><type>null</type></type><methodname>simplexml_import_dom</methodname>
|
||||
<methodparam><type>DOMNode</type><parameter>node</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>class_name</parameter><initializer>"SimpleXMLElement"</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
|
@ -49,9 +49,8 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns a <type>SimpleXMLElement</type>&return.falseforfailure;.
|
||||
Returns a <type>SimpleXMLElement</type> or &null; on failure.
|
||||
</para>
|
||||
&return.falseproblem;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
|
|
Loading…
Reference in a new issue