From d488c1907a8047d9eeaa802a24f5573feba76991 Mon Sep 17 00:00:00 2001 From: Art4 Date: Tue, 25 Feb 2025 15:24:00 +0000 Subject: [PATCH] Fix PHPStan error in webdav_storage addon --- webdav_storage/src/WebDavConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [