Skip to content

Commit f18cf84

Browse files
committed
User: deprecated hasAuthenticator() & hasAuthorizator()
1 parent ac9742b commit f18cf84

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/Security/User.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,7 @@ final public function getAuthenticatorIfExists(): ?IAuthenticator
168168
}
169169

170170

171-
/**
172-
* Does the authentication exist?
173-
*/
171+
/** @deprecated */
174172
final public function hasAuthenticator(): bool
175173
{
176174
return (bool) $this->authenticator;
@@ -288,9 +286,7 @@ final public function getAuthorizatorIfExists(): ?IAuthorizator
288286
}
289287

290288

291-
/**
292-
* Does the authorization exist?
293-
*/
289+
/** @deprecated */
294290
final public function hasAuthorizator(): bool
295291
{
296292
return (bool) $this->authorizator;

0 commit comments

Comments
 (0)