Skip to content

Commit 07470c3

Browse files
authored
ext/pgsql: fix pg_close_stmt() signature. (#18194)
1 parent 335c0b3 commit 07470c3

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
@@ -971,7 +971,7 @@ function pg_socket_poll($socket, int $read, int $write, int $timeout = -1): int
971971
function pg_set_chunked_rows_size(PgSql\Connection $connection, int $size): bool {}
972972
#endif
973973
#ifdef HAVE_PG_CLOSE_STMT
974-
function pg_close_stmt(Pgsql\Connection $connection, string $statement_name): Pgsql\Result|false {}
974+
function pg_close_stmt(Pgsql\Connection $connection, string $statement_name): PgSql\Result|false {}
975975
#endif
976976
}
977977

ext/pgsql/pgsql_arginfo.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)