Skip to content

Commit 1279984

Browse files
committed
Merge branch 'PHP-8.0'
* Fix pg_get_notify() parameter name
2 parents c276c16 + d1e590f commit 1279984

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ext/pgsql/pgsql.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,8 @@ function pg_get_result($connection) {}
475475
/** @param resource $result */
476476
function pg_result_status($result, int $mode = PGSQL_STATUS_LONG): string|int {}
477477

478-
/** @param resource $result */
479-
function pg_get_notify($result, int $mode = PGSQL_ASSOC): array|false {}
478+
/** @param resource $connection */
479+
function pg_get_notify($connection, int $mode = PGSQL_ASSOC): array|false {}
480480

481481
/** @param resource $connection */
482482
function pg_get_pid($connection): int {}

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: c88ced859b9bc6775690361d932c4cec14cb0c64 */
2+
* Stub hash: 949190bcdea7c4d889d0a7da190cf9aeb80ebaab */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_pg_connect, 0, 0, 1)
55
ZEND_ARG_TYPE_INFO(0, connection_string, IS_STRING, 0)
@@ -386,7 +386,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_pg_result_status, 0, 1, MAY_BE_S
386386
ZEND_END_ARG_INFO()
387387

388388
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_pg_get_notify, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
389-
ZEND_ARG_INFO(0, result)
389+
ZEND_ARG_INFO(0, connection)
390390
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "PGSQL_ASSOC")
391391
ZEND_END_ARG_INFO()
392392

0 commit comments

Comments
 (0)