Fix #78045: Wrong return type in mysqli_warning::next() description

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347459 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
brzuchal 2019-05-21 14:12:12 +00:00
parent bba432fb39
commit bf963bac2d

View file

@ -4,20 +4,23 @@
<refentry xml:id="mysqli-warning.next" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>mysqli_warning::next</refname>
<refpurpose>The next purpose</refpurpose>
<refpurpose>Fetch next warning</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="oop">
<modifier>public</modifier> <type>void</type><methodname>mysqli_warning::next</methodname>
<modifier>public</modifier> <type>bool</type><methodname>mysqli_warning::next</methodname>
<void />
</methodsynopsis>
<para>
Change warning information to the next warning if possible.
</para>
<para>
Once the warning has been set to the next warning, new values of properties <literal>message</literal>,
<literal>sqlstate</literal> and <literal>errno</literal> of <classname>mysqli_warning</classname>
are available.
</para>
&warn.undocumented.func;
</refsect1>
@ -29,7 +32,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns &true; if next warning was fetched successfully.
If there are no more warnings, it will return &false;
</para>
</refsect1>