Skip to content

Commit c3a486b

Browse files
committed
minor #5810 Fixed a typo (javiereguiluz)
This PR was merged into the 2.3 branch. Discussion ---------- Fixed a typo | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | - Commits ------- a216b87 Fixed a typo
2 parents 0ea3491 + a216b87 commit c3a486b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/security/voters.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ security context (i.e. the ``security.context`` service). Each one decides
2525
if the current user should have access to some resource.
2626

2727
Ultimately, Symfony takes the responses from all voters and makes the final
28-
decission (to allow or deny access to the resource) according to the strategy defined
28+
decision (to allow or deny access to the resource) according to the strategy defined
2929
in the application, which can be: affirmative, consensus or unanimous.
3030

3131
For more information take a look at
@@ -207,7 +207,7 @@ and tag it with ``security.voter``:
207207
208208
// app/config/services.php
209209
use Symfony\Component\DependencyInjection\Definition;
210-
210+
211211
$definition = new Definition('AppBundle\Security\Authorization\Voter\PostVoter');
212212
$definition
213213
->setPublic(false)

0 commit comments

Comments
 (0)