From 485a3772b6160f0dd2ca699e4f248fcb5e4de91c Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Tue, 4 Sep 2012 12:32:59 +0100 Subject: [PATCH] Changed function to __construct --- src/Oauth2/Client/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Oauth2/Client/Client.php b/src/Oauth2/Client/Client.php index 5162ebde..febd5b12 100755 --- a/src/Oauth2/Client/Client.php +++ b/src/Oauth2/Client/Client.php @@ -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));