]> git.mxchange.org Git - friendica-addons.git/commitdiff
Fix PHPStan error in webdav_storage addon
authorArt4 <art4@wlabs.de>
Tue, 25 Feb 2025 15:24:00 +0000 (15:24 +0000)
committerArt4 <art4@wlabs.de>
Tue, 25 Feb 2025 15:24:00 +0000 (15:24 +0000)
webdav_storage/src/WebDavConfig.php

index 2236e97ab36de191419d2f2ad694ee0a261f58a1..320b06a29070d9e45045745ab7f405993440551a 100644 (file)
@@ -52,7 +52,7 @@ class WebDavConfig implements ICanConfigureStorage
                $this->config = $config;
                $this->client = $client;
 
-               $this->authOptions = null;
+               $this->authOptions = [];
 
                if (!empty($this->config->get('webdav', 'username'))) {
                        $this->authOptions = [