Skip to content

Commit c4ecebe

Browse files
committed
Update the name and type of $ctorArgs parameters
1 parent 85a03b1 commit c4ecebe

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

reference/pdo/pdostatement/fetchall.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<modifier>public</modifier> <type>bool</type><methodname>PDOStatement::setFetchMode</methodname>
2525
<methodparam><type>int</type><parameter>mode</parameter><initializer>PDO::FETCH_CLASS</initializer></methodparam>
2626
<methodparam><type>string</type><parameter>class</parameter></methodparam>
27-
<methodparam><type>array</type><parameter>ctorArgs</parameter></methodparam>
27+
<methodparam><type class="union"><type>array</type><type>null</type></type><parameter>constructorArgs</parameter></methodparam>
2828
</methodsynopsis>
2929

3030
<methodsynopsis>
@@ -95,7 +95,7 @@
9595
</listitem>
9696
</varlistentry>
9797
<varlistentry>
98-
<term><parameter>ctorArgs</parameter></term>
98+
<term><parameter>constructorArgs</parameter></term>
9999
<listitem>
100100
<para>
101101
Arguments of custom class constructor when the <parameter>mode</parameter>

reference/pdo/pdostatement/fetchobject.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<methodsynopsis>
1111
<modifier>public</modifier> <type class="union"><type>object</type><type>false</type></type><methodname>PDOStatement::fetchObject</methodname>
1212
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>class</parameter><initializer>"stdClass"</initializer></methodparam>
13-
<methodparam choice="opt"><type>array</type><parameter>ctorArgs</parameter></methodparam>
13+
<methodparam choice="opt"><type>array</type><parameter>constructorArgs</parameter><initializer>[]</initializer></methodparam>
1414
</methodsynopsis>
1515

1616
<para>
@@ -38,7 +38,7 @@
3838
</listitem>
3939
</varlistentry>
4040
<varlistentry>
41-
<term><parameter>ctorArgs</parameter></term>
41+
<term><parameter>constructorArgs</parameter></term>
4242
<listitem>
4343
<para>
4444
Elements of this array are passed to the constructor.

reference/pdo/pdostatement/setfetchmode.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<modifier>public</modifier> <type>bool</type><methodname>PDOStatement::setFetchMode</methodname>
2626
<methodparam><type>int</type><parameter>mode</parameter><initializer>PDO::FETCH_CLASS</initializer></methodparam>
2727
<methodparam><type>string</type><parameter>class</parameter></methodparam>
28-
<methodparam><type>array</type><parameter>ctorArgs</parameter></methodparam>
28+
<methodparam>><type class="union"><type>array</type><type>null</type></type><parameter>constructorArgs</parameter></methodparam>
2929
</methodsynopsis>
3030

3131
<methodsynopsis>
@@ -64,7 +64,7 @@
6464
</listitem>
6565
</varlistentry>
6666
<varlistentry>
67-
<term><parameter>ctorArgs</parameter></term>
67+
<term><parameter>constructorArgs</parameter></term>
6868
<listitem>
6969
<para>
7070
Constructor arguments.

0 commit comments

Comments
 (0)