PHPStan level 3 #1603

Merged
nupplaPhil merged 15 commits from Art4/friendica-addons:phpstan-level-3 into develop 2025-04-27 02:17:42 +02:00
Showing only changes of commit d488c1907a - Show all commits

Fix PHPStan error in webdav_storage addon

Art4 2025-02-25 15:24:00 +00:00

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