You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

22 lines
452 B

<?php
declare(strict_types=1);
namespace App\Controller;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\Routing\Annotation\Route;
class IndexController
{
/**
* @Route("/", name="index.any")
*/
public function index(): JsonResponse
{
return new JsonResponse(
JsonResponse::$statusTexts[JsonResponse::HTTP_BAD_REQUEST],
JsonResponse::HTTP_BAD_REQUEST
);
}
}