mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-21 06:56:57 +00:00
address review by making $args an array
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
8089ab83cf
commit
f272979c43
4 changed files with 16 additions and 16 deletions
|
|
@ -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'] ?? '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue