Skip to content

Commit 6f91718

Browse files
committed
Fix code examples in PHPDoc
1 parent b02030a commit 6f91718

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

EntryPoint/AuthenticationEntryPointInterface.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,14 @@ interface AuthenticationEntryPointInterface
3131
* response that "helps" the user start into the authentication process.
3232
*
3333
* Examples:
34-
* A) For a form login, you might redirect to the login page
35-
* return new RedirectResponse('/login');
36-
* B) For an API token authentication system, you return a 401 response
37-
* return new Response('Auth header required', 401);
34+
*
35+
* - For a form login, you might redirect to the login page
36+
*
37+
* return new RedirectResponse('/login');
38+
*
39+
* - For an API token authentication system, you return a 401 response
40+
*
41+
* return new Response('Auth header required', 401);
3842
*
3943
* @param Request $request The request that resulted in an AuthenticationException
4044
* @param AuthenticationException $authException The exception that started the authentication process

0 commit comments

Comments
 (0)