summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pgsql/pgsql.stub.php')
-rw-r--r--ext/pgsql/pgsql.stub.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.stub.php b/ext/pgsql/pgsql.stub.php
index 8460fd26b6..aff847bbc4 100644
--- a/ext/pgsql/pgsql.stub.php
+++ b/ext/pgsql/pgsql.stub.php
@@ -190,7 +190,7 @@ function pg_fetch_assoc($result, ?int $row = null): array|false {}
function pg_fetch_array($result, ?int $row = null, int $mode = PGSQL_BOTH): array|false {}
/** @param resource $result */
-function pg_fetch_object($result, ?int $row = null, string $class = "stdClass", ?array $ctor_args = null): object|false {}
+function pg_fetch_object($result, ?int $row = null, string $class = "stdClass", array $constructor_args = []): object|false {}
/** @param resource $result */
function pg_fetch_all($result, int $mode = PGSQL_ASSOC): array {}