aboutsummaryrefslogtreecommitdiff
path: root/app/Models/FeedDAO.php
diff options
context:
space:
mode:
authorGravatar Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> 2023-04-15 01:19:22 +0200
committerGravatar GitHub <noreply@github.com> 2023-04-15 01:19:22 +0200
commita19b56064d74ae871abd52903778e0d5c35af896 (patch)
treefdc0f2cadc8171c466de34d1d30adab01a738c71 /app/Models/FeedDAO.php
parentb8662f88995df2cbae655d4efe8f414eb3872e5e (diff)
PHPstan level 6 for Category.php (#5298)
* PHPstan level 6 for Category.php * Fix a few things * Minor fixes * A few more fixes --------- Co-authored-by: Luc <sanchezluc+freshrss@gmail.com> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/Models/FeedDAO.php')
-rw-r--r--app/Models/FeedDAO.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/FeedDAO.php b/app/Models/FeedDAO.php
index 2a123e0db..b3e2648d9 100644
--- a/app/Models/FeedDAO.php
+++ b/app/Models/FeedDAO.php
@@ -395,7 +395,7 @@ SQL;
$feeds = self::daoToFeed($stm->fetchAll(PDO::FETCH_ASSOC));
- usort($feeds, function ($a, $b) {
+ usort($feeds, static function (FreshRSS_Feed $a, FreshRSS_Feed $b) {
return strnatcasecmp($a->name(), $b->name());
});