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)