Skip to content

Commit 2897919

Browse files
committed
ext/mysqli: mysqli_report() only ever returns true
1 parent b08a1dd commit 2897919

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/mysqli/mysqli.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ function mysqli_poll(?array &$read, ?array &$error, array &$reject, int $seconds
15371537
/** @refcount 1 */
15381538
function mysqli_prepare(mysqli $mysql, string $query): mysqli_stmt|false {}
15391539

1540-
function mysqli_report(int $flags): bool {}
1540+
function mysqli_report(int $flags): true {}
15411541

15421542
/** @refcount 1 */
15431543
function mysqli_query(mysqli $mysql, string $query, int $result_mode = MYSQLI_STORE_RESULT): mysqli_result|bool {}

ext/mysqli/mysqli_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)