Skip to content

Commit b500ddd

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: Fix the default value of $fetchMode in PDO::pgsqlGetNotify()
2 parents addb6e4 + 8387f2d commit b500ddd

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ PHP NEWS
3131
. Fixed JIT bug (JIT emits "Attempt to assign property of non-object"
3232
warning at the same time as Error is being thrown). (Girgias)
3333

34+
- PDO PGSQL:
35+
. Fixed the default value of $fetchMode in PDO::pgsqlGetNotify() (kocsismate)
36+
3437
- SOAP:
3538
. Fixed bug GH-12838 ([SOAP] Temporary WSDL cache files not being deleted).
3639
(nielsdos)

ext/pdo_pgsql/pgsql_driver.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function pgsqlLOBOpen(string $oid, string $mode = "rb") {}
2929
public function pgsqlLOBUnlink(string $oid): bool {}
3030

3131
/** @tentative-return-type */
32-
public function pgsqlGetNotify(int $fetchMode = PDO::FETCH_USE_DEFAULT, int $timeoutMilliseconds = 0): array|false {}
32+
public function pgsqlGetNotify(int $fetchMode = PDO::FETCH_DEFAULT, int $timeoutMilliseconds = 0): array|false {}
3333

3434
/** @tentative-return-type */
3535
public function pgsqlGetPid(): int {}

ext/pdo_pgsql/pgsql_driver_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)