Skip to content

Commit 9e331b5

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: [Security] Deprecate remaining anonymous checks [Security] Deprecate AnonymousToken, non-UserInterface users, and token credentials Fix deprecation messages Fix deprecation messages Do not use str_start_with Add the Path class Add Estonian (et) translations [SecurityBundle] Simplify LDAP factories
2 parents 4cd0c67 + cb30834 commit 9e331b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

AppVariable.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ public function getUser(): ?object
8484

8585
$user = $token->getUser();
8686

87+
// @deprecated since 5.4, $user will always be a UserInterface instance
8788
return \is_object($user) ? $user : null;
8889
}
8990

0 commit comments

Comments
 (0)