Skip to content

Commit 50c3fb2

Browse files
committed
[#6204] fix CS
1 parent 50286bc commit 50c3fb2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: cookbook/security/api_key_authentication.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,9 @@ you can use to create an error ``Response``.
307307
return new Response(
308308
// this contains information about *why* authentication failed
309309
// use it, or return your own message
310-
strtr($exception->getMessageKey(), $exception->getMessageData())
311-
, 403);
310+
strtr($exception->getMessageKey(), $exception->getMessageData()),
311+
403
312+
);
312313
}
313314
}
314315

0 commit comments

Comments
 (0)