Skip to content

Commit

Permalink
fn() -> fn ()
Browse files Browse the repository at this point in the history
  • Loading branch information
rotdrop committed Apr 27, 2023
1 parent 055cbc7 commit e00bda8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/CategoriesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private function getUsedCategories(): array {

// Avoid injecting "broken" categories into the UI (avoid empty
// categories and categories surrounded by spaces)
$categories = array_filter(array_map(fn($label) => trim($label), array_unique(array_merge(...$categories))));
$categories = array_filter(array_map(fn ($label) => trim($label), array_unique(array_merge(...$categories))));

return $categories;
}
Expand Down

0 comments on commit e00bda8

Please sign in to comment.