Skip to content

Commit be92228

Browse files
committed
minor #6862 Remove unused JsonResponse dependency in example (Farskies)
This PR was submitted for the 3.1 branch but it was merged into the 2.7 branch instead (closes #6862). Discussion ---------- Remove unused JsonResponse dependency in example Commits ------- 60d5164 Remove unused JsonResponse dependency in example
2 parents 8e4410f + 60d5164 commit be92228

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

controller.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,6 @@ abstraction around the HTTP response - the text-based message filled with
498498
headers and content that's sent back to the client::
499499

500500
use Symfony\Component\HttpFoundation\Response;
501-
use Symfony\Component\HttpFoundation\JsonResponse;
502501

503502
// create a simple Response with a 200 status code (the default)
504503
$response = new Response('Hello '.$name, Response::HTTP_OK);

0 commit comments

Comments
 (0)