Skip to content

Commit 8a6278b

Browse files
committed
Update stubs
1 parent 794d410 commit 8a6278b

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

stubs/ext/odbc/odbc_fetch_array.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
function odbc_fetch_array($statement, int $row = -1): array|false
66
{
77
}
8-
/** @param resource $statement */
98
#[\Since('8.4')]
10-
function odbc_fetch_array($statement, ?int $row = null): array|false
9+
function odbc_fetch_array(\Odbc\Result $statement, ?int $row = null): array|false
1110
{
1211
}

stubs/ext/odbc/odbc_fetch_into.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ function odbc_fetch_into($statement, &$array, int $row = 0): int|false
1111
}
1212
#endif
1313
/**
14-
* @param resource $statement
1514
* @param array $array
1615
*/
1716
#[\Since('8.4')]
18-
function odbc_fetch_into($statement, &$array, ?int $row = null): int|false
17+
function odbc_fetch_into(\Odbc\Result $statement, &$array, ?int $row = null): int|false
1918
{
2019
}

stubs/ext/odbc/odbc_fetch_object.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ function odbc_fetch_object($statement, int $row = -1): \stdClass|false
77
{
88
}
99
#ifdef PHP_ODBC_HAVE_FETCH_HASH
10-
/** @param resource $statement */
1110
#[\Since('8.4')]
12-
function odbc_fetch_object($statement, ?int $row = null): \stdClass|false
11+
function odbc_fetch_object(\Odbc\Result $statement, ?int $row = null): \stdClass|false
1312
{
1413
}

0 commit comments

Comments
 (0)