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()
|
public function getHasAdvancedFormSearchServices()
|
||||||
{
|
{
|
||||||
//sort the array
|
//sort the array
|
||||||
uasort($this->hasAdvancedFormSearchServices, static function (HasAdvancedSearchFormInterface $a, HasAdvancedSearchFormInterface $b): int {
|
uasort($this->hasAdvancedFormSearchServices, static fn (HasAdvancedSearchFormInterface $a, HasAdvancedSearchFormInterface $b): int => $a->getOrder() <=> $b->getOrder());
|
||||||
return $a->getOrder() <=> $b->getOrder();
|
|
||||||
});
|
|
||||||
|
|
||||||
return $this->hasAdvancedFormSearchServices;
|
return $this->hasAdvancedFormSearchServices;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user