From 47731ce9019f540504188abf3ddffcc5c2bc200d Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Fri, 1 Feb 2013 15:28:25 +0000 Subject: [PATCH] $expiresIn now static --- src/OAuth2/AuthServer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OAuth2/AuthServer.php b/src/OAuth2/AuthServer.php index 464eba35..e499b738 100644 --- a/src/OAuth2/AuthServer.php +++ b/src/OAuth2/AuthServer.php @@ -20,7 +20,7 @@ class AuthServer */ protected $scopeDelimeter = ','; - protected $expiresIn = 3600; + static protected $expiresIn = 3600; protected $responseTypes = array(); @@ -109,7 +109,7 @@ class AuthServer public static function getExpiresIn() { - return $this->expiresIn; + return self::$expiresIn; } public function setExpiresIn($expiresIn)