We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b6a4a9 + 550ef0c commit d0c2845Copy full SHA for d0c2845
lib/OAuthSimple.php
@@ -90,7 +90,7 @@ class OAuthSimple {
90
* @param api_key {string} The API Key (sometimes referred to as the consumer key) This value is usually supplied by the site you wish to use.
91
* @param shared_secret (string) The shared secret. This value is also usually provided by the site you wish to use.
92
*/
93
- function OAuthSimple ($APIKey = "",$sharedSecret=""){
+ public function __construct ($APIKey = "",$sharedSecret=""){
94
if (!empty($APIKey))
95
$this->_secrets{'consumer_key'}=$APIKey;
96
if (!empty($sharedSecret))
@@ -466,4 +466,4 @@ function _generateSignature () {
466
}
467
468
469
-?>
+?>
0 commit comments