Static analysis with PHPStan

This commit is contained in:
Lukáš Unger
2018-02-11 21:51:47 +01:00
parent 4c548dbd78
commit eca385ab08
12 changed files with 28 additions and 20 deletions

View File

@@ -9,6 +9,7 @@
namespace League\OAuth2\Server\Entities;
use Lcobucci\JWT\Token;
use League\OAuth2\Server\CryptKey;
interface AccessTokenEntityInterface extends TokenInterface
@@ -18,7 +19,7 @@ interface AccessTokenEntityInterface extends TokenInterface
*
* @param CryptKey $privateKey
*
* @return string
* @return Token
*/
public function convertToJWT(CryptKey $privateKey);
}