diff options
| author | Tristan Darricau <github@nicofuma.fr> | 2014-06-14 16:42:49 +0200 |
|---|---|---|
| committer | Tristan Darricau <github@nicofuma.fr> | 2014-06-15 16:39:28 +0200 |
| commit | d7b9e33b94ecaa7f1a00630de9149b75a5985268 (patch) | |
| tree | 4304162f0ba6f244811a761f0522dac174f17367 /phpBB/phpbb/auth/provider/oauth/token_storage.php | |
| parent | 3a96c5b753cbbde459f9835e952b2cb75008a9fc (diff) | |
| download | forums-d7b9e33b94ecaa7f1a00630de9149b75a5985268.tar forums-d7b9e33b94ecaa7f1a00630de9149b75a5985268.tar.gz forums-d7b9e33b94ecaa7f1a00630de9149b75a5985268.tar.bz2 forums-d7b9e33b94ecaa7f1a00630de9149b75a5985268.tar.xz forums-d7b9e33b94ecaa7f1a00630de9149b75a5985268.zip | |
[ticket/12715] Cleanup comments in \phpbb\auth\provider\*
PHPBB3-12715
Diffstat (limited to 'phpBB/phpbb/auth/provider/oauth/token_storage.php')
| -rw-r--r-- | phpBB/phpbb/auth/provider/oauth/token_storage.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/token_storage.php b/phpBB/phpbb/auth/provider/oauth/token_storage.php index b7d32bf246..fe1a376cfe 100644 --- a/phpBB/phpbb/auth/provider/oauth/token_storage.php +++ b/phpBB/phpbb/auth/provider/oauth/token_storage.php @@ -17,7 +17,6 @@ namespace phpbb\auth\provider\oauth; use OAuth\OAuth1\Token\StdOAuth1Token; use OAuth\Common\Token\TokenInterface; use OAuth\Common\Storage\TokenStorageInterface; -use OAuth\Common\Storage\Exception\StorageException; use OAuth\Common\Storage\Exception\TokenNotFoundException; /** @@ -198,6 +197,7 @@ class token_storage implements TokenStorageInterface /** * Checks to see if an access token exists solely by the session_id of the user * + * @param string $service The name of the OAuth service * @return bool true if they have token, false if they don't */ public function has_access_token_by_session($service) @@ -250,6 +250,7 @@ class token_storage implements TokenStorageInterface * * @param array $data * @return mixed + * @throws \OAuth\Common\Storage\Exception\TokenNotFoundException */ protected function _retrieve_access_token($data) { |
