From 448598495cc4cee10e333d17a161c52549478cfa Mon Sep 17 00:00:00 2001 From: Adam Magness Date: Mon, 4 Dec 2017 21:00:47 -0500 Subject: [PATCH] Static remove static --- src/Network/FKOAuthDataStore.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Network/FKOAuthDataStore.php b/src/Network/FKOAuthDataStore.php index 0fcd01fc5c..6cb080ba71 100644 --- a/src/Network/FKOAuthDataStore.php +++ b/src/Network/FKOAuthDataStore.php @@ -36,7 +36,7 @@ class FKOAuthDataStore extends OAuthDataStore * @param string $consumer_key key * @return mixed */ - public static function lookup_consumer($consumer_key) + public function lookup_consumer($consumer_key) { logger(__function__.":".$consumer_key); @@ -56,7 +56,7 @@ class FKOAuthDataStore extends OAuthDataStore * @param string $token token * @return mixed */ - public static function lookup_token($consumer, $token_type, $token) + public function lookup_token($consumer, $token_type, $token) { logger(__function__.":".$consumer.", ". $token_type.", ".$token); @@ -81,7 +81,7 @@ class FKOAuthDataStore extends OAuthDataStore * @param string $timestamp timestamp * @return mixed */ - public static function lookup_nonce($consumer, $token, $nonce, $timestamp) + public function lookup_nonce($consumer, $token, $nonce, $timestamp) { $r = dba::select('tokens', ['id', 'secret'], ['client_id' => $consumer->key, 'id' => $nonce, 'expires' => $timestamp], ['limit' => 1]); @@ -97,7 +97,7 @@ class FKOAuthDataStore extends OAuthDataStore * @param string $callback optional, default null * @return mixed */ - public static function new_request_token($consumer, $callback = null) + public function new_request_token($consumer, $callback = null) { logger(__function__.":".$consumer.", ". $callback); $key = self::genToken(); @@ -132,7 +132,7 @@ class FKOAuthDataStore extends OAuthDataStore * @param string $verifier optional, defult null * @return object */ - public static function new_access_token($token, $consumer, $verifier = null) + public function new_access_token($token, $consumer, $verifier = null) { logger(__function__.":".$token.", ". $consumer.", ". $verifier); -- 2.39.5