Fix methodsynopsis of XMLReader::XML()

Based on a patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351489 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-11-22 12:00:40 +00:00
parent 709f92e5d7
commit 722a01f189

View file

@ -9,11 +9,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <modifier>static</modifier>
<type>bool</type>
<methodname>XMLReader::xml</methodname>
<type class="union"><type>bool</type><type>XMLReader</type></type><methodname>XMLReader::XML</methodname>
<methodparam><type>string</type><parameter>source</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam>
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>encoding</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
@ -84,7 +82,7 @@
<row>
<entry>8.0.0</entry>
<entry>
<methodname>XMLReader::xml</methodname> is now declared as static method,
<methodname>XMLReader::XML</methodname> is now declared as static method,
but can still be called on an <classname>XMLReader</classname> instance.
</entry>
</row>