8000 Merge branch '5.0' · symfony/symfony-docs@278bea2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 278bea2

Browse files
committed
Merge branch '5.0'
* 5.0: Update return statement for getUser …
2 parents 8a8c6df + fa709b5 commit 278bea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/guard_authentication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ This requires you to implement several methods::
107107
{
108108
if (null === $credentials) {
109109
// The token header was empty, authentication fails with 401
110-
return;
110+
return null;
111111
}
112112

113113
// if a User is returned, checkCredentials() is called

0 commit comments

Comments
 (0)
0