mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-06 14:54:57 +00:00
DX: apply rector rulesets up to PHP 73
This commit is contained in:
@@ -665,7 +665,7 @@ class ExportController extends AbstractController
|
||||
|
||||
$this->logger->notice('[export] choices for an export unserialized', [
|
||||
'key' => $key,
|
||||
'rawData' => json_encode($rawData),
|
||||
'rawData' => json_encode($rawData, JSON_THROW_ON_ERROR),
|
||||
]);
|
||||
|
||||
return $rawData;
|
||||
|
@@ -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