Skip to content

Commit 07e3d4b

Browse files
committed
Minor tweak
1 parent 0c6e3ea commit 07e3d4b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

security/expressions.rst

+1-4
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,7 @@ returns an array of values that will be injected into the closure::
215215

216216
class MyController extends AbstractController
217217
{
218-
#[IsGranted(static function (
219-
IsGrantedContext $context,
220-
mixed $subject,
221-
) {
218+
#[IsGranted(static function (IsGrantedContext $context, mixed $subject) {
222219
return $context->user === $subject['post']->getAuthor();
223220
}, subject: static function (array $args) {
224221
return [

0 commit comments

Comments
 (0)