Skip to content

Commit 7371c7a

Browse files
getWarningCount
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
1 parent 5a7bdee commit 7371c7a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

reference/pdo_mysql/pdo/mysql/getwarningcount.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<refentry xml:id="pdo-mysql.getwarningcount" xmlns="http://docbook.org/ns/docbook">
33
<refnamediv>
44
<refname>Pdo\Mysql::getWarningCount</refname>
5-
<refpurpose>Description</refpurpose>
5+
<refpurpose>Returns the number of warnings from the last executed query</refpurpose>
66
</refnamediv>
77

88
<refsect1 role="description">
@@ -11,9 +11,8 @@
1111
<modifier>public</modifier> <type>int</type><methodname>Pdo\Mysql::getWarningCount</methodname>
1212
<void/>
1313
</methodsynopsis>
14-
&warn.undocumented.func;
1514
<simpara>
16-
Description.
15+
Returns the number of warnings from the last executed query.
1716
</simpara>
1817
</refsect1>
1918

@@ -25,7 +24,7 @@
2524
<refsect1 role="returnvalues">
2625
&reftitle.returnvalues;
2726
<simpara>
28-
Description.
27+
Returns an <type>integer</type> representing the number of warnings generated by the last query.
2928
</simpara>
3029
</refsect1>
3130

0 commit comments

Comments
 (0)