Skip to content

Commit 2f0541d

Browse files
committed
[Security] Make AuthenticationTrustResolverInterface::isAuthenticated() non-virtual
1 parent e402b79 commit 2f0541d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Authentication/AuthenticationTrustResolverInterface.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@
1717
* Interface for resolving the authentication status of a given token.
1818
*
1919
* @author Johannes M. Schmitt <[email protected]>
20-
*
21-
* @method bool isAuthenticated(TokenInterface $token = null)
2220
*/
2321
interface AuthenticationTrustResolverInterface
2422
{
23+
/**
24+
* Resolves whether the passed token implementation is authenticated.
25+
*/
26+
public function isAuthenticated(TokenInterface $token = null): bool;
27+
2528
/**
2629
* Resolves whether the passed token implementation is authenticated
2730
* using remember-me capabilities.

0 commit comments

Comments
 (0)