A free, self-hostable news aggregator…
Fix PHP 7.0 warning (#4514)
Alexandre Alapetite0ec3874620c0
diff --git a/app/Models/EntryDAOSQLite.php b/app/Models/EntryDAOSQLite.phpindex b1ab6601e..8039581e6 100644--- a/app/Models/EntryDAOSQLite.php+++ b/app/Models/EntryDAOSQLite.php@@ -115,7 +115,7 @@ DROP TABLE IF EXISTS `tmp`;* @param boolean $is_read* @return integer|false affected rows*/- public function markRead($ids, $is_read = true) {+ public function markRead($ids, bool $is_read = true) {FreshRSS_UserDAO::touch();if (is_array($ids)) { //Many IDs at once (used by API)//if (true) { //Speed heuristics //TODO: Not implemented yet for SQLite (so always call IDs one by one)