[Security] Use the is_granted
expression to keep consistency with php example above#4282
Closed
tyx wants to merge 2 commits intosymfony:masterfrom tyx:fix/make-same-code-that-php-example
+3-1