mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Improve the signature definition
This commit is contained in:
parent
ef8ac6041a
commit
e3559774fd
@ -863,11 +863,8 @@ class CRUDController extends AbstractController
|
|||||||
* * save-and-close: return to index of current crud ;
|
* * save-and-close: return to index of current crud ;
|
||||||
* * save-and-new: return to new page of current crud ;
|
* * save-and-new: return to new page of current crud ;
|
||||||
* * save-and-view: return to view 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');
|
$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.
|
* This method is executed before the `setUp` method.
|
||||||
*
|
*
|
||||||
* @return \Doctrine\DBAL\Query\QueryBuilder[]
|
* @return QueryBuilder[]
|
||||||
*/
|
*/
|
||||||
abstract public function getQueryBuilders();
|
abstract public function getQueryBuilders();
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace Chill\PersonBundle\Repository;
|
namespace Chill\PersonBundle\Repository;
|
||||||
|
|
||||||
|
use Chill\MainBundle\Entity\Location;
|
||||||
use Chill\MainBundle\Entity\PostalCode;
|
use Chill\MainBundle\Entity\PostalCode;
|
||||||
use Chill\MainBundle\Entity\Scope;
|
use Chill\MainBundle\Entity\Scope;
|
||||||
use Chill\MainBundle\Entity\User;
|
use Chill\MainBundle\Entity\User;
|
||||||
@ -23,6 +24,7 @@ interface AccompanyingPeriodACLAwareRepositoryInterface
|
|||||||
/**
|
/**
|
||||||
* @param array|UserJob[] $jobs
|
* @param array|UserJob[] $jobs
|
||||||
* @param array|Scope[] $services
|
* @param array|Scope[] $services
|
||||||
|
* @param array|Location[] $administrativeLocations
|
||||||
*/
|
*/
|
||||||
public function countByUnDispatched(array $jobs, array $services, array $administrativeLocations): int;
|
public function countByUnDispatched(array $jobs, array $services, array $administrativeLocations): int;
|
||||||
|
|
||||||
@ -45,7 +47,7 @@ interface AccompanyingPeriodACLAwareRepositoryInterface
|
|||||||
/**
|
/**
|
||||||
* @param array|UserJob[] $jobs if empty, does not take this argument into account
|
* @param array|UserJob[] $jobs if empty, does not take this argument into account
|
||||||
* @param array|Scope[] $services if empty, does not take this argument into account
|
* @param array|Scope[] $services if empty, does not take this argument into account
|
||||||
*
|
* @param array|Location[] $administrativeLocations
|
||||||
* @return list<AccompanyingPeriod>
|
* @return list<AccompanyingPeriod>
|
||||||
*/
|
*/
|
||||||
public function findByUnDispatched(array $jobs, array $services, array $administrativeAdministrativeLocations, ?array $orderBy = null, ?int $limit = null, ?int $offset = null): array;
|
public function findByUnDispatched(array $jobs, array $services, array $administrativeAdministrativeLocations, ?array $orderBy = null, ?int $limit = null, ?int $offset = null): array;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user