aboutsummaryrefslogtreecommitdiff
path: root/app/Models/CategoryDAO.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-01-18 10:12:53 +0100
committerGravatar GitHub <noreply@github.com> 2024-01-18 10:12:53 +0100
commit4a0e8a70580c96ec2aeed2cf44bd79bc302676f8 (patch)
tree072169ec11d33f93fc9eecc11287cdf678596557 /app/Models/CategoryDAO.php
parent9b1f9713337bd9c1d1264688b7ac98be69d53c67 (diff)
Native array return type forgotten (#6046)
Native type forgotten from https://github.com/FreshRSS/FreshRSS/pull/5269 https://github.com/FreshRSS/FreshRSS/pull/5213
Diffstat (limited to 'app/Models/CategoryDAO.php')
-rw-r--r--app/Models/CategoryDAO.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/CategoryDAO.php b/app/Models/CategoryDAO.php
index 020a5e2e2..8ea8090b8 100644
--- a/app/Models/CategoryDAO.php
+++ b/app/Models/CategoryDAO.php
@@ -428,7 +428,7 @@ SQL;
* 'error'?:int|bool,'cache_nbEntries'?:int,'cache_nbUnreads'?:int,'ttl'?:int}> $listDAO
* @return array<int,FreshRSS_Category>
*/
- private static function daoToCategoryPrepopulated(array $listDAO) {
+ private static function daoToCategoryPrepopulated(array $listDAO): array {
$list = [];
$previousLine = [];
$feedsDao = [];