Skip to content

Commit 5d07449

Browse files
committed
Update stubs
1 parent c773109 commit 5d07449

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

stubs/ext/odbc/odbc_autocommit.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
<?php
22

33
/** @param resource $odbc */
4+
#[\Until('8.3')]
45
function odbc_autocommit($odbc, bool $enable = false): int|bool
56
{
7+
}
8+
/** @param resource $odbc */
9+
#[\Since('8.3')]
10+
function odbc_autocommit($odbc, ?bool $enable = null): int|bool
11+
{
612
}

stubs/ext/odbc/odbc_data_source.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
#ifdef HAVE_SQLDATASOURCES
44
/** @param resource $odbc */
5+
#[\Until('8.1')]
56
function odbc_data_source($odbc, int $fetch_type): array|false
67
{
8+
}
9+
#ifdef HAVE_SQLDATASOURCES
10+
/** @param resource $odbc */
11+
#[\Since('8.1')]
12+
function odbc_data_source($odbc, int $fetch_type): array|null|false
13+
{
714
}

0 commit comments

Comments
 (0)