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