Skip to content

Commit d1e590f

Browse files
committed
Fix pg_get_notify() parameter name
Closes GH-6916
1 parent 2bce26f commit d1e590f

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: de1718d3e6e66dfade25462b8461983b914120ed */
2+
* Stub hash: b996f10e06a18f0995a9614bd05340987beda8ea */
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)