mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fix the 1st parameter type casing of pg_set_chunked_rows_size()
This commit is contained in:
@@ -968,7 +968,7 @@ namespace {
|
||||
function pg_socket_poll($socket, int $read, int $write, int $timeout = -1): int {}
|
||||
|
||||
#ifdef HAVE_PG_SET_CHUNKED_ROWS_SIZE
|
||||
function pg_set_chunked_rows_size(Pgsql\Connection $connection, int $size): bool {}
|
||||
function pg_set_chunked_rows_size(PgSql\Connection $connection, int $size): bool {}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
4
ext/pgsql/pgsql_arginfo.h
generated
4
ext/pgsql/pgsql_arginfo.h
generated
@@ -1,5 +1,5 @@
|
||||
/* This is a generated file, edit the .stub.php file instead.
|
||||
* Stub hash: 0b89a48c27c6682542312391f10a3ab8fb719ef8 */
|
||||
* Stub hash: 14b0bdd019480b850940b2c2b012b5f6d51746b8 */
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_pg_connect, 0, 1, PgSql\\Connection, MAY_BE_FALSE)
|
||||
ZEND_ARG_TYPE_INFO(0, connection_string, IS_STRING, 0)
|
||||
@@ -490,7 +490,7 @@ ZEND_END_ARG_INFO()
|
||||
|
||||
#if defined(HAVE_PG_SET_CHUNKED_ROWS_SIZE)
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_set_chunked_rows_size, 0, 2, _IS_BOOL, 0)
|
||||
ZEND_ARG_OBJ_INFO(0, connection, Pgsql\\Connection, 0)
|
||||
ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, size, IS_LONG, 0)
|
||||
ZEND_END_ARG_INFO()
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user