mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-28 13:06:13 +00:00
DX: apply rector rules
This commit is contained in:
parent
746ed4f5e5
commit
25c033be61
@ -113,9 +113,7 @@ class SearchProvider
|
||||
public function getHasAdvancedFormSearchServices()
|
||||
{
|
||||
//sort the array
|
||||
uasort($this->hasAdvancedFormSearchServices, static function (HasAdvancedSearchFormInterface $a, HasAdvancedSearchFormInterface $b): int {
|
||||
return $a->getOrder() <=> $b->getOrder();
|
||||
});
|
||||
uasort($this->hasAdvancedFormSearchServices, static fn (HasAdvancedSearchFormInterface $a, HasAdvancedSearchFormInterface $b): int => $a->getOrder() <=> $b->getOrder());
|
||||
|
||||
return $this->hasAdvancedFormSearchServices;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user