Skip to content

Commit 3eeb586

Browse files
committed
Add default value to setFetchMode's $constructorArgs with FETCH_CLASS
php/doc-en@ddce0c4
1 parent bf0a52c commit 3eeb586

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/pdo/pdostatement/setfetchmode.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: c9c158137b0f4658c29faef4043472dc74896d0c Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: ddce0c4643ca2ebed3e8c11d4100a4a4f40ad397 Maintainer: takagi Status: ready -->
44
<!-- CREDITS: shimooka,mumumu -->
55
<refentry xml:id="pdostatement.setfetchmode" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -27,7 +27,7 @@
2727
<modifier>public</modifier> <type>bool</type><methodname>PDOStatement::setFetchMode</methodname>
2828
<methodparam><type>int</type><parameter>mode</parameter><initializer>PDO::FETCH_CLASS</initializer></methodparam>
2929
<methodparam><type>string</type><parameter>class</parameter></methodparam>
30-
<methodparam><type class="union"><type>array</type><type>null</type></type><parameter>constructorArgs</parameter></methodparam>
30+
<methodparam><type class="union"><type>array</type><type>null</type></type><parameter>constructorArgs</parameter><initializer>&null;</initializer></methodparam>
3131
</methodsynopsis>
3232

3333
<methodsynopsis>

0 commit comments

Comments
 (0)