mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-06 06:44:59 +00:00
apply rector rules: symfony **UP TO** 44
This commit is contained in:
@@ -361,13 +361,11 @@ class ExportController extends AbstractController
|
||||
$this->session->set('export_step', $data);
|
||||
|
||||
//redirect to next step
|
||||
return $this->redirect(
|
||||
$this->generateUrl('chill_main_export_new', [
|
||||
'step' => $this->getNextStep('export', $export),
|
||||
'alias' => $alias,
|
||||
'from_saved' => $request->get('from_saved', '')
|
||||
])
|
||||
);
|
||||
return $this->redirectToRoute('chill_main_export_new', [
|
||||
'step' => $this->getNextStep('export', $export),
|
||||
'alias' => $alias,
|
||||
'from_saved' => $request->get('from_saved', '')
|
||||
]);
|
||||
}
|
||||
$this->logger->debug('form export is invalid', [
|
||||
'location' => __METHOD__, ]);
|
||||
@@ -413,14 +411,11 @@ class ExportController extends AbstractController
|
||||
);
|
||||
|
||||
//redirect to next step
|
||||
return $this->redirect($this->generateUrl(
|
||||
'chill_main_export_new',
|
||||
[
|
||||
'alias' => $alias,
|
||||
'step' => $this->getNextStep('formatter', $export),
|
||||
'from_saved' => $request->get('from_saved', ''),
|
||||
]
|
||||
));
|
||||
return $this->redirectToRoute('chill_main_export_new', [
|
||||
'alias' => $alias,
|
||||
'step' => $this->getNextStep('formatter', $export),
|
||||
'from_saved' => $request->get('from_saved', ''),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user