mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-28 06:20:14 +00:00
address review by making $args an array
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
@@ -19,7 +19,7 @@ class ConfigurationController
|
||||
$this->configurationManager = $configurationManager;
|
||||
}
|
||||
|
||||
public function SetConfig(Request $request, Response $response, mixed $args) : Response {
|
||||
public function SetConfig(Request $request, Response $response, array $args) : Response {
|
||||
try {
|
||||
if (isset($request->getParsedBody()['domain'])) {
|
||||
$domain = $request->getParsedBody()['domain'] ?? '';
|
||||
|
||||
Reference in New Issue
Block a user