diff --git a/composer.json b/composer.json index 937df706202fb..fb6cd010889d3 100644 --- a/composer.json +++ b/composer.json @@ -22,6 +22,6 @@ "scripts": { "cs:fix": "php-cs-fixer fix", "cs:check": "php-cs-fixer fix --dry-run --diff", - "lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/.phan/*' -exec php -l \"{}\" \\;" + "lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/.phan/*' -print0 | xargs -0 -n1 php -l" } } diff --git a/lib/private/AppFramework/Services/AppConfig.php b/lib/private/AppFramework/Services/AppConfig.php index 4716313b34240..eaca647f4389b 100644 --- a/lib/private/AppFramework/Services/AppConfig.php +++ b/lib/private/AppFramework/Services/AppConfig.php @@ -70,6 +70,6 @@ public function getUserValue(string $userId, string $key, string $default = ''): } public function deleteUserValue(string $userId, string $key): void { - return $this->config->deleteUserValue($userId, $this->appName, $key); + $this->config->deleteUserValue($userId, $this->appName, $key); } }