aboutsummaryrefslogtreecommitdiff
path: root/app/Models/FeedDAOSQLite.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-11-07 13:15:48 +0100
committerGravatar GitHub <noreply@github.com> 2023-11-07 13:15:48 +0100
commit85345559c7c66787ad9474da8a63de24e6484843 (patch)
tree3a19f00d18fc8f12ce3551413af62ec0ec98834d /app/Models/FeedDAOSQLite.php
parent711e2153d11f3df181be2f6248368d75a36b5725 (diff)
Compatibility PHP 8.2 for running automated tests (#5826)
https://php.net/pdo.errorinfo has slightly changed signature
Diffstat (limited to 'app/Models/FeedDAOSQLite.php')
-rw-r--r--app/Models/FeedDAOSQLite.php2
1 files changed, 1 insertions, 1 deletions
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<string> $errorInfo */
+ /** @param array<int|string> $errorInfo */
protected function autoUpdateDb(array $errorInfo): bool {
if ($tableInfo = $this->pdo->query("PRAGMA table_info('feed')")) {
$columns = $tableInfo->fetchAll(PDO::FETCH_COLUMN, 1);