Fixed new checkstyle issues in swift.php from build #1341.
This commit is contained in:
parent
051635412d
commit
3cc6df489f
|
@ -271,8 +271,8 @@ class OC_FileStorage_SWIFT extends OC_Filestorage_Common{
|
||||||
$this->host=$params['host'];
|
$this->host=$params['host'];
|
||||||
$this->user=$params['user'];
|
$this->user=$params['user'];
|
||||||
$this->root=isset($params['root'])?$params['root']:'/';
|
$this->root=isset($params['root'])?$params['root']:'/';
|
||||||
if(isset($params['secure'])){
|
if(isset($params['secure'])) {
|
||||||
if(is_string($params['secure'])){
|
if(is_string($params['secure'])) {
|
||||||
$this->secure = ($params['secure'] === 'true');
|
$this->secure = ($params['secure'] === 'true');
|
||||||
}else{
|
}else{
|
||||||
$this->secure = (bool)$params['secure'];
|
$this->secure = (bool)$params['secure'];
|
||||||
|
|
Loading…
Reference in New Issue