diff --git a/src/Controller/PrepareMenuController.php b/src/Controller/PrepareMenuController.php
index 1e3334fa6fe831cc930bae6abf725b2fb5054db6..49a74dd59b5600f956078046d942b7f9dfab405e 100644
--- a/src/Controller/PrepareMenuController.php
+++ b/src/Controller/PrepareMenuController.php
@@ -21,9 +21,6 @@ class PrepareMenuController extends AbstractController
     #[Route('/prepare/menu', name: 'app_prepare_menu', methods: ['POST'])]
     public function index(MenuRequest $request, PrepareMenuAction $action): Response
     {
-        return new JsonResponse(
-            $action->act($request->serialise()),
-            200
-        );
+        return new JsonResponse($action->act($request->serialise()));
     }
 }
diff --git a/src/Controller/SortPriceController.php b/src/Controller/SortPriceController.php
index 313d3dc8c22d4304111a09bcec01e3a5b1bab5da..0f1d250b6c31ea3f0dee3f4581c722d10adb2cdf 100644
--- a/src/Controller/SortPriceController.php
+++ b/src/Controller/SortPriceController.php
@@ -3,28 +3,22 @@
 namespace App\Controller;
 
 use App\Actions\SortPriceAction;
-use App\Entity\PricesEntity;
 use App\Requests\PricesRequest;
-use App\Service\ValidationService;
 use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
 use Symfony\Component\HttpFoundation\JsonResponse;
-use Symfony\Component\HttpFoundation\Request;
 use Symfony\Component\Routing\Attribute\Route;
 
 class SortPriceController extends AbstractController
 {
     /**
      * Контроллер волняет сортировку массива по убыванию цены используя sortPrice
-     * @param Request $request
+     * @param PricesRequest $request
      * @param SortPriceAction $action
      * @return JsonResponse
      */
     #[Route('/sort/price', name: 'app_sort_price', methods: ['POST'])]
     public function index(PricesRequest $request, SortPriceAction $action): JsonResponse
     {
-        return new JsonResponse(
-            $action->act($request->serialise()),
-            200
-        );
+        return new JsonResponse($action->act($request->serialise()));
     }
 }