Skip to content

Commit 22bd1bf

Browse files
fix: review
1 parent dc7bd97 commit 22bd1bf

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/Fixtures/TestBundle/Controller/Common/CustomController.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
use ApiPlatform\Tests\Fixtures\TestBundle\Model\CustomObject;
1717
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
18-
use Symfony\Component\HttpFoundation\JsonResponse;
1918
use Symfony\Component\Routing\Annotation\Route;
2019

2120
/**
@@ -25,11 +24,6 @@
2524
*/
2625
class CustomController extends AbstractController
2726
{
28-
public function customAction(int $id): JsonResponse
29-
{
30-
return new JsonResponse(sprintf('This is a custom action for %d.', $id), 200, ['Content-Type' => 'application/ld+json; charset=utf-8']);
31-
}
32-
3327
/**
3428
* Custom route for a non API Platform route.
3529
*

0 commit comments

Comments
 (0)