Skip to content

Commit 739f43f

Browse files
committed
minor #3669 Fixed syntax highlighting (rvanlaarhoven)
This PR was merged into the master branch. Discussion ---------- Fixed syntax highlighting Fixed syntax highlighting for the PostVoter example Commits ------- 484b7b9 Added : 7eb3051 Fixed syntax highlighting
2 parents 857725b + 484b7b9 commit 739f43f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cookbook/security/voters_data_permission.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ Creating the Custom Voter
5454
-------------------------
5555

5656
The goal is to create a voter that checks if a user has access to view or
57-
edit a particular object. Here's an example implementation::
57+
edit a particular object. Here's an example implementation:
58+
59+
.. code-block:: php
5860
5961
// src/Acme/DemoBundle/Security/Authorization/Voter/PostVoter.php
6062
namespace Acme\DemoBundle\Security\Authorization\Voter;

0 commit comments

Comments
 (0)