]> git.mxchange.org Git - friendica.git/commitdiff
Improve accuracy of accepted parameter types in phpDoc of Database->fetch
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 18 Sep 2021 03:36:03 +0000 (23:36 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 2 Oct 2021 22:15:43 +0000 (18:15 -0400)
- Suppresses an unwarranted type error raised by static analyzers

src/Database/Database.php

index 28283b1c8175d8273d980c0ffe17b021b8074cdc..2341e435cd451c5b752a58fc37443ef42c351735 100644 (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
         */