From 5f2db9601f301f53ba517bf4a147a311b55c3978 Mon Sep 17 00:00:00 2001 From: Amit Singh Date: Tue, 14 Feb 2023 15:01:00 +0530 Subject: [PATCH] Update simple-mysqli.php changed the return type so that we can get the status of change --- simple-mysqli.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simple-mysqli.php b/simple-mysqli.php index dc51d19..eae06be 100644 --- a/simple-mysqli.php +++ b/simple-mysqli.php @@ -498,7 +498,7 @@ public function close(): void { * * @throws mysqli_sql_exception If mysqli function failed due to mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT) */ - public function select_db($db_name): void { - $this->mysqli->select_db($db_name); + public function select_db($db_name): bool { + return $this->mysqli->select_db($db_name); } }