Skip to content

Commit b9ba35e

Browse files
committed
Update stubs
1 parent 89e77b4 commit b9ba35e

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

stubs/ext/pdo_pgsql/PDO_PGSql_Ext.php

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
// These are extension methods for PDO. This is not a real class.
55
class PDO_PGSql_Ext
66
{
7+
/**
8+
* @tentative-return-type
9+
* @return (array | false)
10+
*/
11+
#[\Until('8.2')]
12+
public function pgsqlGetNotify(int $fetchMode = PDO::FETCH_USE_DEFAULT, int $timeoutMilliseconds = 0)
13+
{
14+
}
715
/**
816
* @tentative-return-type
917
* @return bool
@@ -50,11 +58,9 @@ public function pgsqlLOBOpen(string $oid, string $mode = "rb")
5058
public function pgsqlLOBUnlink(string $oid)
5159
{
5260
}
53-
/**
54-
* @tentative-return-type
55-
* @return (array | false)
56-
*/
57-
public function pgsqlGetNotify(int $fetchMode = PDO::FETCH_USE_DEFAULT, int $timeoutMilliseconds = 0)
61+
/** @tentative-return-type */
62+
#[\Since('8.2')]
63+
public function pgsqlGetNotify(int $fetchMode = PDO::FETCH_DEFAULT, int $timeoutMilliseconds = 0)
5864
{
5965
}
6066
/**

0 commit comments

Comments
 (0)