aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Search.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Search.php')
-rw-r--r--app/Models/Search.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Models/Search.php b/app/Models/Search.php
index 00cb408f9..31b3d8d5a 100644
--- a/app/Models/Search.php
+++ b/app/Models/Search.php
@@ -235,9 +235,7 @@ class FreshRSS_Search {
* @return array<string>
*/
private static function removeEmptyValues(?array $anArray): array {
- return empty($anArray) ? [] : array_filter($anArray, static function(string $value) {
- return $value !== '';
- });
+ return empty($anArray) ? [] : array_filter($anArray, static fn(string $value) => $value !== '');
}
/**