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/CategoryDAOSQLite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/CategoryDAOSQLite.php') diff --git a/app/Models/CategoryDAOSQLite.php b/app/Models/CategoryDAOSQLite.php index c076d25f1..ee6d5b7ad 100644 --- a/app/Models/CategoryDAOSQLite.php +++ b/app/Models/CategoryDAOSQLite.php @@ -2,7 +2,7 @@ class FreshRSS_CategoryDAOSQLite extends FreshRSS_CategoryDAO { - /** @param array $errorInfo */ + /** @param array $errorInfo */ protected function autoUpdateDb(array $errorInfo): bool { if ($tableInfo = $this->pdo->query("PRAGMA table_info('category')")) { $columns = $tableInfo->fetchAll(PDO::FETCH_COLUMN, 1); -- cgit v1.2.3