Skip to content

Commit

Permalink
minor #6862 Remove unused JsonResponse dependency in example (Farskies)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
wouterj committed Aug 11, 2016
2 parents 8e4410f + 60d5164 commit be92228
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,6 @@ abstraction around the HTTP response - the text-based message filled with
headers and content that's sent back to the client::

use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\JsonResponse;

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

0 comments on commit be92228

Please sign in to comment.