diff --git a/src/Token.php b/src/Token.php index 5b02f56..ebd538d 100644 --- a/src/Token.php +++ b/src/Token.php @@ -68,7 +68,7 @@ class Token extends TokenBase implements TokenInterface { /** * {@inheritdoc} */ - public function getTokenTypeInfo($token_type, $token) { + public function getTokenInfo($token_type, $token) { if (empty($this->tokenInfo)) { $this->getInfo(); } diff --git a/src/TokenInterface.php b/src/TokenInterface.php index 76cb61d..db8c571 100644 --- a/src/TokenInterface.php +++ b/src/TokenInterface.php @@ -40,7 +40,7 @@ interface TokenInterface { * * @deprecated */ - public function getTokenTypeInfo($token_type, $token); + public function getTokenInfo($token_type, $token); /** * Get a list of token types that can be used without any context (global).