diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2015-05-16 13:39:45 +0200 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2015-05-16 13:39:45 +0200 |
| commit | e52bc2d02283aab8fc0a588feec74ec8858c48f8 (patch) | |
| tree | 7a78e12493e07884c97264dfd287015dce2cd073 /phpBB/phpbb/auth | |
| parent | 1c0c9c1bca26744bb87f10271c636ce3b72eb85f (diff) | |
| parent | 62e13e945c475c416c4fb9deff8f234d3508a598 (diff) | |
| download | forums-e52bc2d02283aab8fc0a588feec74ec8858c48f8.tar forums-e52bc2d02283aab8fc0a588feec74ec8858c48f8.tar.gz forums-e52bc2d02283aab8fc0a588feec74ec8858c48f8.tar.bz2 forums-e52bc2d02283aab8fc0a588feec74ec8858c48f8.tar.xz forums-e52bc2d02283aab8fc0a588feec74ec8858c48f8.zip | |
Merge pull request #3606 from Nicofuma/ticket/13838
[ticket/13838] Check braces for control structures
Diffstat (limited to 'phpBB/phpbb/auth')
| -rw-r--r-- | phpBB/phpbb/auth/provider/oauth/token_storage.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/token_storage.php b/phpBB/phpbb/auth/provider/oauth/token_storage.php index 023cf402ca..f488c2022d 100644 --- a/phpBB/phpbb/auth/provider/oauth/token_storage.php +++ b/phpBB/phpbb/auth/provider/oauth/token_storage.php @@ -117,7 +117,8 @@ class token_storage implements TokenStorageInterface { $service = $this->get_service_name_for_db($service); - if ($this->cachedToken) { + if ($this->cachedToken) + { return true; } @@ -232,7 +233,8 @@ class token_storage implements TokenStorageInterface { $service = $this->get_service_name_for_db($service); - if ($this->cachedToken instanceof TokenInterface) { + if ($this->cachedToken instanceof TokenInterface) + { return $this->cachedToken; } |
