mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Remove type hinting
This commit is contained in:
@@ -101,12 +101,12 @@ class CryptKey implements CryptKeyInterface
|
||||
return 'file://' . $keyPath;
|
||||
}
|
||||
|
||||
public function getKeyPath(): string
|
||||
public function getKeyPath()
|
||||
{
|
||||
return $this->keyPath;
|
||||
}
|
||||
|
||||
public function getPassPhrase(): ?string
|
||||
public function getPassPhrase()
|
||||
{
|
||||
return $this->passPhrase;
|
||||
}
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace League\OAuth2\Server;
|
||||
|
||||
@@ -10,12 +9,12 @@ interface CryptKeyInterface
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getKeyPath(): string;
|
||||
public function getKeyPath();
|
||||
|
||||
/**
|
||||
* Retrieve key pass phrase.
|
||||
*
|
||||
* @return null|string
|
||||
*/
|
||||
public function getPassPhrase(): ?string;
|
||||
public function getPassPhrase();
|
||||
}
|
||||
|
Reference in New Issue
Block a user