aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2020-04-30 17:37:20 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2020-04-30 17:37:20 +0200
commit1ef77ef948a7bf73df1c743445f85b914b04dab0 (patch)
tree545e09f731079919b7e3bf9e46f9671627d40962
parentcba7219b2541c35de574c2a8924a5451a253a8bb (diff)
downloadnextcloud-server-1ef77ef948a7bf73df1c743445f85b914b04dab0.tar.gz
nextcloud-server-1ef77ef948a7bf73df1c743445f85b914b04dab0.zip
composer run cs:fix
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
-rw-r--r--lib/private/Files/ObjectStore/SwiftFactory.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/ObjectStore/SwiftFactory.php b/lib/private/Files/ObjectStore/SwiftFactory.php
index 9857e1def85..0354fba638f 100644
--- a/lib/private/Files/ObjectStore/SwiftFactory.php
+++ b/lib/private/Files/ObjectStore/SwiftFactory.php
@@ -78,12 +78,12 @@ class SwiftFactory {
* @throws StorageAuthException
*/
public function getCachedTokenId() {
- if ( !isset($this->params['cachedToken']) ) {
+ if (!isset($this->params['cachedToken'])) {
throw new StorageAuthException('Unauthenticated ObjectStore connection');
}
// Is it V2 token?
- if ( isset($this->params['cachedToken']['token']) ) {
+ if (isset($this->params['cachedToken']['token'])) {
return $this->params['cachedToken']['token']['id'];
}