]> source.dussan.org Git - nextcloud-server.git/commitdiff
composer run cs:fix 20749/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Thu, 30 Apr 2020 15:37:20 +0000 (17:37 +0200)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Thu, 30 Apr 2020 15:37:20 +0000 (17:37 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
lib/private/Files/ObjectStore/SwiftFactory.php

index 9857e1def8570a776d72975cdf45bf68ee74384c..0354fba638f481735142336dd10a1617c4c62c90 100644 (file)
@@ -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'];
                }