mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
Inject server
This commit is contained in:
parent
184fac507b
commit
228144a701
@ -11,6 +11,8 @@
|
||||
|
||||
namespace League\OAuth2\Server\Storage;
|
||||
|
||||
use League\OAuth2\Server\AbstractServer;
|
||||
|
||||
/**
|
||||
* Storage adapter class
|
||||
*/
|
||||
@ -26,7 +28,7 @@ class Adapter
|
||||
* Set the server
|
||||
* @param \League\OAuth2\Server\AbstractServer $server
|
||||
*/
|
||||
public function setServer($server)
|
||||
public function setServer(AbstractServer $server)
|
||||
{
|
||||
$this->server = $server;
|
||||
return $this;
|
||||
|
Loading…
Reference in New Issue
Block a user