From: Art4 Date: Tue, 25 Feb 2025 15:24:00 +0000 (+0000) Subject: Fix PHPStan error in webdav_storage addon X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d488c1907a8047d9eeaa802a24f5573feba76991;p=friendica-addons.git Fix PHPStan error in webdav_storage addon --- diff --git a/webdav_storage/src/WebDavConfig.php b/webdav_storage/src/WebDavConfig.php index 2236e97a..320b06a2 100644 --- a/webdav_storage/src/WebDavConfig.php +++ b/webdav_storage/src/WebDavConfig.php @@ -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 = [