mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 23:53:50 +00:00
Improve the signature definition
This commit is contained in:
@@ -863,11 +863,8 @@ class CRUDController extends AbstractController
|
||||
* * save-and-close: return to index of current crud ;
|
||||
* * save-and-new: return to new page of current crud ;
|
||||
* * save-and-view: return to view page of current crud ;
|
||||
*
|
||||
*
|
||||
* @return \Symfony\Component\HttpFoundation\RedirectResponse
|
||||
*/
|
||||
protected function onBeforeRedirectAfterSubmission(string $action, mixed $entity, FormInterface $form, Request $request)
|
||||
protected function onBeforeRedirectAfterSubmission(string $action, mixed $entity, FormInterface $form, Request $request): ?Response
|
||||
{
|
||||
$next = $request->request->get('submit', 'save-and-close');
|
||||
|
||||
|
@@ -167,7 +167,7 @@ abstract class AbstractAggregatorTest extends KernelTestCase
|
||||
*
|
||||
* This method is executed before the `setUp` method.
|
||||
*
|
||||
* @return \Doctrine\DBAL\Query\QueryBuilder[]
|
||||
* @return QueryBuilder[]
|
||||
*/
|
||||
abstract public function getQueryBuilders();
|
||||
|
||||
|
Reference in New Issue
Block a user