mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-06 23:04:58 +00:00
DX: apply rector rulesets up to PHP 73
This commit is contained in:
@@ -109,10 +109,8 @@ class SearchController extends AbstractController
|
||||
->getHasAdvancedFormSearchServices();
|
||||
|
||||
if (count($advancedSearchProviders) === 1) {
|
||||
reset($advancedSearchProviders);
|
||||
|
||||
return $this->redirectToRoute('chill_main_advanced_search', [
|
||||
'name' => key($advancedSearchProviders),
|
||||
'name' => array_key_first($advancedSearchProviders),
|
||||
]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user