Skip to content

Commit

Permalink
User: deprecated hasAuthenticator() & hasAuthorizator()
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Oct 16, 2019
1 parent ac9742b commit f18cf84
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Security/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,7 @@ final public function getAuthenticatorIfExists(): ?IAuthenticator
}


/**
* Does the authentication exist?
*/
/** @deprecated */
final public function hasAuthenticator(): bool
{
return (bool) $this->authenticator;
Expand Down Expand Up @@ -288,9 +286,7 @@ final public function getAuthorizatorIfExists(): ?IAuthorizator
}


/**
* Does the authorization exist?
*/
/** @deprecated */
final public function hasAuthorizator(): bool
{
return (bool) $this->authorizator;
Expand Down

0 comments on commit f18cf84

Please sign in to comment.