Use the route attribute from the correct namespace

This commit is contained in:
Jan Böhmer 2024-03-03 20:37:33 +01:00
parent d49bb1f4b5
commit 18c80f6b64
31 changed files with 31 additions and 31 deletions

View file

@ -48,7 +48,7 @@ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Asset\Packages;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Routing\Attribute\Route;
use Symfony\Component\Serializer\Encoder\JsonEncoder;
use Symfony\Component\Serializer\Normalizer\ObjectNormalizer;
use Symfony\Component\Serializer\Serializer;