Fix parameter order
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user