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/EntryDAOSQLite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/EntryDAOSQLite.php') diff --git a/app/Models/EntryDAOSQLite.php b/app/Models/EntryDAOSQLite.php index 956f4701a..136f6d550 100644 --- a/app/Models/EntryDAOSQLite.php +++ b/app/Models/EntryDAOSQLite.php @@ -22,7 +22,7 @@ class FreshRSS_EntryDAOSQLite extends FreshRSS_EntryDAO { return str_replace('INSERT INTO ', 'INSERT OR IGNORE INTO ', $sql); } - /** @param array $errorInfo */ + /** @param array $errorInfo */ protected function autoUpdateDb(array $errorInfo): bool { if ($tableInfo = $this->pdo->query("PRAGMA table_info('entry')")) { $columns = $tableInfo->fetchAll(PDO::FETCH_COLUMN, 1) ?: []; -- cgit v1.2.3