Skip to content

Commit b275e13

Browse files
committed
Merge branch 'PHP-8.2'
* PHP-8.2: Fix return type of odbc_data_source()
2 parents ba35ff0 + 43e62aa commit b275e13

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/odbc/odbc.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ function odbc_cursor($statement): string|false {}
334334

335335
#ifdef HAVE_SQLDATASOURCES
336336
/** @param resource $odbc */
337-
function odbc_data_source($odbc, int $fetch_type): array|false {}
337+
function odbc_data_source($odbc, int $fetch_type): array|null|false {}
338338
#endif
339339

340340
/**

ext/odbc/odbc_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)