aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Services/ImportService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Services/ImportService.php b/app/Services/ImportService.php
index 780dcbd07..2e70d4b81 100644
--- a/app/Services/ImportService.php
+++ b/app/Services/ImportService.php
@@ -70,7 +70,7 @@ class FreshRSS_Import_Service {
$limits = FreshRSS_Context::$system_conf->limits;
//Sort with categories first
- usort($opml_elements, function ($a, $b) {
+ usort($opml_elements, static function ($a, $b) {
return strcmp(
(isset($a['xmlUrl']) ? 'Z' : 'A') . (isset($a['text']) ? $a['text'] : ''),
(isset($b['xmlUrl']) ? 'Z' : 'A') . (isset($b['text']) ? $b['text'] : ''));