Fix PHPStan error in webdav_storage addon
parent
81b4d3cab4
commit
d488c1907a
|
@ -52,7 +52,7 @@ class WebDavConfig implements ICanConfigureStorage
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
$this->client = $client;
|
$this->client = $client;
|
||||||
|
|
||||||
$this->authOptions = null;
|
$this->authOptions = [];
|
||||||
|
|
||||||
if (!empty($this->config->get('webdav', 'username'))) {
|
if (!empty($this->config->get('webdav', 'username'))) {
|
||||||
$this->authOptions = [
|
$this->authOptions = [
|
||||||
|
|
Loading…
Reference in New Issue