diff options
| author | 2023-11-07 13:15:48 +0100 | |
|---|---|---|
| committer | 2023-11-07 13:15:48 +0100 | |
| commit | 85345559c7c66787ad9474da8a63de24e6484843 (patch) | |
| tree | 3a19f00d18fc8f12ce3551413af62ec0ec98834d /app/Models/EntryDAOSQLite.php | |
| parent | 711e2153d11f3df181be2f6248368d75a36b5725 (diff) | |
Compatibility PHP 8.2 for running automated tests (#5826)
https://php.net/pdo.errorinfo has slightly changed signature
Diffstat (limited to 'app/Models/EntryDAOSQLite.php')
| -rw-r--r-- | app/Models/EntryDAOSQLite.php | 2 |
1 files changed, 1 insertions, 1 deletions
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<string> $errorInfo */ + /** @param array<string|int> $errorInfo */ protected function autoUpdateDb(array $errorInfo): bool { if ($tableInfo = $this->pdo->query("PRAGMA table_info('entry')")) { $columns = $tableInfo->fetchAll(PDO::FETCH_COLUMN, 1) ?: []; |
