diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-09 17:14:14 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-09 17:14:14 +0200 |
commit | 6145cac1af8fbdf355de8e6e59b5ef2c23ac167a (patch) | |
tree | 8bd611707f27968972c847bb5e6893612dbf59d7 /ext/pgsql | |
parent | 25d0e21d771b94a6e0f06653a45a2e3c32e6a19f (diff) | |
download | php-git-6145cac1af8fbdf355de8e6e59b5ef2c23ac167a.tar.gz |
Fix default value
Diffstat (limited to 'ext/pgsql')
-rw-r--r-- | ext/pgsql/pgsql.stub.php | 2 | ||||
-rw-r--r-- | ext/pgsql/pgsql_arginfo.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/pgsql/pgsql.stub.php b/ext/pgsql/pgsql.stub.php index 624587d8da..e5b9d5a607 100644 --- a/ext/pgsql/pgsql.stub.php +++ b/ext/pgsql/pgsql.stub.php @@ -462,7 +462,7 @@ function pg_send_execute($connection, string $query, array $params): int|bool {} function pg_get_result($connection) {} /** @param resource $result */ -function pg_result_status($result, int $result_type = PGSQL_RESULT_LONG): string|int|false {} +function pg_result_status($result, int $result_type = PGSQL_STATUS_LONG): string|int|false {} /** @param resource $result */ function pg_get_notify($result, int $result_type = PGSQL_ASSOC): array|false {} diff --git a/ext/pgsql/pgsql_arginfo.h b/ext/pgsql/pgsql_arginfo.h index 5c91b162fa..d5b42d48ba 100644 --- a/ext/pgsql/pgsql_arginfo.h +++ b/ext/pgsql/pgsql_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 19b18db70bba298e3111913b1b94f95163ac86db */ + * Stub hash: 9364c37bf47b6aaa5c3d2e67a09d82e5b04c15ff */ ZEND_BEGIN_ARG_INFO_EX(arginfo_pg_connect, 0, 0, 1) ZEND_ARG_TYPE_INFO(0, connection_string, IS_STRING, 0) @@ -382,7 +382,7 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_pg_result_status, 0, 1, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_FALSE) ZEND_ARG_INFO(0, result) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, result_type, IS_LONG, 0, "PGSQL_RESULT_LONG") + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, result_type, IS_LONG, 0, "PGSQL_STATUS_LONG") ZEND_END_ARG_INFO() #define arginfo_pg_get_notify arginfo_pg_fetch_all |