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:
@@ -909,7 +909,7 @@ class Database
|
|||||||
/**
|
/**
|
||||||
* Fetch a single row
|
* Fetch a single row
|
||||||
*
|
*
|
||||||
* @param PDOStatement|mysqli_stmt $stmt statement object
|
* @param bool|PDOStatement|mysqli_stmt $stmt statement object
|
||||||
*
|
*
|
||||||
* @return array|false current row
|
* @return array|false current row
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user