Skip to content

Commit 2d0bac5

Browse files
committed
WI-85820 [phpstorm-stubs] Update oci_fetch_object signature
1 parent f4b2a38 commit 2d0bac5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

oci8/oci8.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,7 @@ function oci_fetch($statement) {}
711711
* identifier created by {@see oci_parse} and executed
712712
* by {@see oci_execute}, or a REF
713713
* CURSOR statement identifier.</p>
714+
* @param int $mode
714715
* @return object|false <p>An object. Each attribute of the object corresponds to a
715716
* column of the row. If there are no more rows in
716717
* the <i>statement</i> then <b>FALSE</b> is returned.
@@ -737,7 +738,7 @@ function oci_fetch($statement) {}
737738
* data fields.
738739
* </p>
739740
*/
740-
function oci_fetch_object($statement) {}
741+
function oci_fetch_object($statement, int $mode = OCI_ASSOC|OCI_RETURN_NULLS): object|false {}
741742

742743
/**
743744
* (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>

0 commit comments

Comments
 (0)