mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Changed function to __construct
This commit is contained in:
@ -21,7 +21,7 @@ class Provider
|
||||
* @param array provider options
|
||||
* @return OAuth_Provider
|
||||
*/
|
||||
public static function provider($name, array $options = NULL)
|
||||
public function __construct($name, array $options = NULL)
|
||||
{
|
||||
$name = ucfirst(strtolower($name));
|
||||
|
||||
|
Reference in New Issue
Block a user