Changed function to __construct

This commit is contained in:
Alex Bilbie 2012-09-04 12:32:59 +01:00
parent 6f03eec814
commit 485a3772b6

View File

@ -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));