fix tests
This commit is contained in:
@@ -313,9 +313,6 @@ class CompetitionWinnersController extends BaseApiController
|
||||
return response()->json($result, $result['ok'] ? Response::HTTP_OK : Response::HTTP_UNPROCESSABLE_ENTITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int|JsonResponse
|
||||
*/
|
||||
private function authenticatedAdminOrForbidden(): int|JsonResponse
|
||||
{
|
||||
$user = $this->getCurrentUser();
|
||||
@@ -361,7 +358,6 @@ class CompetitionWinnersController extends BaseApiController
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $row
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
private function rowToArray(mixed $row): array
|
||||
|
||||
Reference in New Issue
Block a user