Skip to content

Commit 6145cac

Browse files
committed
Fix default value
1 parent 25d0e21 commit 6145cac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/pgsql/pgsql.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ function pg_send_execute($connection, string $query, array $params): int|bool {}
462462
function pg_get_result($connection) {}
463463

464464
/** @param resource $result */
465-
function pg_result_status($result, int $result_type = PGSQL_RESULT_LONG): string|int|false {}
465+
function pg_result_status($result, int $result_type = PGSQL_STATUS_LONG): string|int|false {}
466466

467467
/** @param resource $result */
468468
function pg_get_notify($result, int $result_type = PGSQL_ASSOC): array|false {}

ext/pgsql/pgsql_arginfo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 19b18db70bba298e3111913b1b94f95163ac86db */
2+
* Stub hash: 9364c37bf47b6aaa5c3d2e67a09d82e5b04c15ff */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_pg_connect, 0, 0, 1)
55
ZEND_ARG_TYPE_INFO(0, connection_string, IS_STRING, 0)
@@ -382,7 +382,7 @@ ZEND_END_ARG_INFO()
382382

383383
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_pg_result_status, 0, 1, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_FALSE)
384384
ZEND_ARG_INFO(0, result)
385-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, result_type, IS_LONG, 0, "PGSQL_RESULT_LONG")
385+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, result_type, IS_LONG, 0, "PGSQL_STATUS_LONG")
386386
ZEND_END_ARG_INFO()
387387

388388
#define arginfo_pg_get_notify arginfo_pg_fetch_all

0 commit comments

Comments
 (0)