Made $grantTypes static to fix ref bug

This commit is contained in:
Alex Bilbie 2013-02-01 15:23:04 +00:00
parent 2a8688b54e
commit 3aa8465640

View File

@ -26,7 +26,7 @@ class AuthServer
static protected $storages = array(); static protected $storages = array();
protected $grantTypes = array(); static protected $grantTypes = array();
static protected $request = null; static protected $request = null;
@ -94,7 +94,7 @@ class AuthServer
public static function hasGrantType($identifier) public static function hasGrantType($identifier)
{ {
return (array_key_exists($identifier, $this->grantTypes)); return (array_key_exists($identifier, self::$grantTypes));
} }
public function getScopeDelimeter() public function getScopeDelimeter()