mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-08 21:14:00 +05:30
Bug fix
This commit is contained in:
parent
c8c69829f0
commit
2a524efff5
@ -271,10 +271,10 @@ class AuthorizationServer extends AbstractServer
|
|||||||
* @param AuthCodeInterface $authCode
|
* @param AuthCodeInterface $authCode
|
||||||
* @return self
|
* @return self
|
||||||
*/
|
*/
|
||||||
public function setAuthCodeStorage(AuthCodeInterface $authCode)
|
public function setAuthCodeStorage(AuthCodeInterface $storage)
|
||||||
{
|
{
|
||||||
$storage->setServer($this);
|
$storage->setServer($this);
|
||||||
$this->storages['auth_code'] = $authCode;
|
$this->storages['auth_code'] = $storage;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user