Skip to content

Commit dff303c

Browse files
javiereguiluzxabbuh
authored andcommitted
When talking about generic responses, don't spell it as Response (which is a Symfony class)
1 parent a9f815a commit dff303c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

security/access_denied_handler.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ How to Create a Custom Access Denied Handler
55
============================================
66

77
When your application throws an ``AccessDeniedException``, you can catch this exception
8-
with a service to return a custom Response.
8+
with a service to return a custom response.
99

1010
On each firewall context you can define a custom access denied handler.
1111

@@ -44,7 +44,7 @@ Your handler must implement the
4444
:class:`Symfony\\Component\\Security\\Http\\Authorization\\AccessDeniedHandlerInterface`.
4545
This interface defines one method called ``handle()`` that implements the logic you want
4646
to execute when access is denied to the current user (send a mail, log a message, or
47-
generally return a custom Response).
47+
generally return a custom response).
4848

4949
.. code-block:: php
5050

0 commit comments

Comments
 (0)