Improve accuracy of accepted parameter types in phpDoc of Database->fetch

- Suppresses an unwarranted type error raised by static analyzers
This commit is contained in:
Hypolite Petovan 2021-09-17 23:36:03 -04:00
parent bf81f21001
commit dae5703e5c

View File

@ -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
*/