Fix parameter order
This commit is contained in:
parent
6b85ad784c
commit
9b0630133c
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace DMD\LaLigaApi\Service\Season\createFacilities;
|
||||
|
||||
use DMD\LaLigaApi\Controller\SeasonController;
|
||||
use DMD\LaLigaApi\Dto\FacilityDto;
|
||||
use DMD\LaLigaApi\Entity\Season;
|
||||
use DMD\LaLigaApi\Entity\User;
|
||||
|
|
@ -32,7 +31,7 @@ class HandleCreateFacilities
|
|||
/**
|
||||
* @throws ValidationException
|
||||
*/
|
||||
public function __invoke(Request $request, int $seasonId, int $leagueId): JsonResponse
|
||||
public function __invoke(Request $request, int $leagueId, int $seasonId): JsonResponse
|
||||
{
|
||||
$userEntity = $this->security->getUser();
|
||||
$this->authorizeRequest->authorizeLeaguePresident($leagueId);
|
||||
|
|
|
|||
Loading…
Reference in New Issue