diff --git a/apps/files_external/lib/swift.php b/apps/files_external/lib/swift.php
index 9c9754ac34688c198c1da4eedb661d7f2cbf829b..45542aacbd3a45467cc9a03ccb10c4ecb3219926 100644
--- a/apps/files_external/lib/swift.php
+++ b/apps/files_external/lib/swift.php
@@ -271,8 +271,8 @@ class OC_FileStorage_SWIFT extends OC_Filestorage_Common{
 		$this->host=$params['host'];
 		$this->user=$params['user'];
 		$this->root=isset($params['root'])?$params['root']:'/';
-		if(isset($params['secure'])){
-			if(is_string($params['secure'])){
+		if(isset($params['secure'])) {
+			if(is_string($params['secure'])) {
 				$this->secure = ($params['secure'] === 'true');
 			}else{
 				$this->secure = (bool)$params['secure'];