aboutsummaryrefslogtreecommitdiff
path: root/app/Models/CategoryDAOSQLite.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/CategoryDAOSQLite.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/CategoryDAOSQLite.php')
-rw-r--r--app/Models/CategoryDAOSQLite.php2
1 files changed, 1 insertions, 1 deletions
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<string> $errorInfo */
+ /** @param array<int|string> $errorInfo */
protected function autoUpdateDb(array $errorInfo): bool {
if ($tableInfo = $this->pdo->query("PRAGMA table_info('category')")) {
$columns = $tableInfo->fetchAll(PDO::FETCH_COLUMN, 1);