From dae5703e5cb8eced3dbc7196f2313528dca05507 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 17 Sep 2021 23:36:03 -0400 Subject: [PATCH] Improve accuracy of accepted parameter types in phpDoc of Database->fetch - Suppresses an unwarranted type error raised by static analyzers --- src/Database/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/Database.php b/src/Database/Database.php index 28283b1c81..2341e435cd 100644 --- a/src/Database/Database.php +++ b/src/Database/Database.php @@ -909,7 +909,7 @@ class Database /** * Fetch a single row * - * @param PDOStatement|mysqli_stmt $stmt statement object + * @param bool|PDOStatement|mysqli_stmt $stmt statement object * * @return array|false current row */