Skip to content
Snippets Groups Projects
Commit 3cc6df48 authored by Diederik de Haas's avatar Diederik de Haas
Browse files

Fixed new checkstyle issues in swift.php from build #1341.

parent 05163541
No related branches found
No related tags found
No related merge requests found
......@@ -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'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment