Remove type hinting

This commit is contained in:
Andrew Millington
2019-08-31 19:02:39 +01:00
parent f604109168
commit 01d652ab29
3 changed files with 6 additions and 6 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ namespace LeagueTests;
use DateInterval;
use League\OAuth2\Server\AuthorizationServer;
use League\OAuth2\Server\CryptKeyInterface;
use League\OAuth2\Server\Exception\OAuthServerException;
use League\OAuth2\Server\Grant\AuthCodeGrant;
use League\OAuth2\Server\Grant\ClientCredentialsGrant;
@@ -152,7 +153,7 @@ class AuthorizationServerTest extends TestCase
$encryptionKey = 'file://' . __DIR__ . '/Stubs/public.key';
$responseTypePrototype = new class extends BearerTokenResponse {
/* @return null|\League\OAuth2\Server\CryptKeyInterface */
/* @return null|CryptKeyInterface */
public function getPrivateKey()
{
return $this->privateKey;