From 2a524efff553b0e0ec22deb37a73987c444e2b0a Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Sun, 9 Mar 2014 20:02:22 +0000 Subject: [PATCH] Bug fix --- src/League/OAuth2/Server/AuthorizationServer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/League/OAuth2/Server/AuthorizationServer.php b/src/League/OAuth2/Server/AuthorizationServer.php index 81f2377b..5155e7e0 100644 --- a/src/League/OAuth2/Server/AuthorizationServer.php +++ b/src/League/OAuth2/Server/AuthorizationServer.php @@ -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; }