mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 05:29:52 +05:30
Changed function to __construct
This commit is contained in:
parent
6f03eec814
commit
485a3772b6
@ -21,7 +21,7 @@ class Provider
|
|||||||
* @param array provider options
|
* @param array provider options
|
||||||
* @return OAuth_Provider
|
* @return OAuth_Provider
|
||||||
*/
|
*/
|
||||||
public static function provider($name, array $options = NULL)
|
public function __construct($name, array $options = NULL)
|
||||||
{
|
{
|
||||||
$name = ucfirst(strtolower($name));
|
$name = ucfirst(strtolower($name));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user