This commit is contained in:
Alex Bilbie 2014-03-09 20:02:22 +00:00
parent c8c69829f0
commit 2a524efff5

View File

@ -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;
}