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

cookbook/security/api_key_authentication.rst

Lines changed: 3 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy