Fix PHPStan error in webdav_storage addon

This commit is contained in:
Art4 2025-02-25 15:24:00 +00:00
parent 81b4d3cab4
commit d488c1907a

View file

@ -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 = [