aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-01-13 17:02:39 +0100
committerGravatar GitHub <noreply@github.com> 2024-01-13 17:02:39 +0100
commit74ed1e6c5772338f8a18f4cbf63bdfcf2ef9baaf (patch)
treea08f3a30d811f1cb94a1adcef06e99b424a58dee /app/views
parent9c97d8ca729e3cfb067445c0d3c9ad8284132aeb (diff)
Fix PHP 7.4 compatibility (#6038)
Some recent PRs have broken PHP 7.4 compatibility due to `mixed` typing.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/helpers/export/opml.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/helpers/export/opml.phtml b/app/views/helpers/export/opml.phtml
index 736854f46..0b53a1ce4 100644
--- a/app/views/helpers/export/opml.phtml
+++ b/app/views/helpers/export/opml.phtml
@@ -103,7 +103,7 @@ function feedsToOutlines(array $feeds, bool $excludeMutedFeeds = false): array {
}
// Remove null or invalid attributes
- $outline = array_filter($outline, static function (mixed $value) { return (is_string($value) || is_int($value) || is_bool($value)) && $value !== ''; });
+ $outline = array_filter($outline, static function ($value) { return (is_string($value) || is_int($value) || is_bool($value)) && $value !== ''; });
$outlines[] = $outline;
}