From 85345559c7c66787ad9474da8a63de24e6484843 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 7 Nov 2023 13:15:48 +0100 Subject: Compatibility PHP 8.2 for running automated tests (#5826) https://php.net/pdo.errorinfo has slightly changed signature --- app/Models/FeedDAOSQLite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/FeedDAOSQLite.php') diff --git a/app/Models/FeedDAOSQLite.php b/app/Models/FeedDAOSQLite.php index 441a7d636..32d5bd0d2 100644 --- a/app/Models/FeedDAOSQLite.php +++ b/app/Models/FeedDAOSQLite.php @@ -2,7 +2,7 @@ class FreshRSS_FeedDAOSQLite extends FreshRSS_FeedDAO { - /** @param array $errorInfo */ + /** @param array $errorInfo */ protected function autoUpdateDb(array $errorInfo): bool { if ($tableInfo = $this->pdo->query("PRAGMA table_info('feed')")) { $columns = $tableInfo->fetchAll(PDO::FETCH_COLUMN, 1); -- cgit v1.2.3