forked from wallabag/wallabag
Modernize to PHP 7.0
This commit is contained in:
@ -25,10 +25,6 @@ class ArraySiteConfigBuilder implements SiteConfigBuilder
|
||||
$host = substr($host, 4);
|
||||
}
|
||||
|
||||
if (isset($this->configs[$host])) {
|
||||
return $this->configs[$host];
|
||||
}
|
||||
|
||||
return false;
|
||||
return $this->configs[$host] ?? false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user