mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-21 06:56:57 +00:00
Clean ConfigurationController.php
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
This commit is contained in:
parent
56aa613dfb
commit
c36ca0a4a3
1 changed files with 3 additions and 8 deletions
|
|
@ -2,21 +2,16 @@
|
||||||
|
|
||||||
namespace AIO\Controller;
|
namespace AIO\Controller;
|
||||||
|
|
||||||
use AIO\ContainerDefinitionFetcher;
|
|
||||||
use AIO\Data\ConfigurationManager;
|
use AIO\Data\ConfigurationManager;
|
||||||
use AIO\Data\InvalidSettingConfigurationException;
|
use AIO\Data\InvalidSettingConfigurationException;
|
||||||
use AIO\Docker\DockerActionManager;
|
|
||||||
use Psr\Http\Message\ResponseInterface as Response;
|
use Psr\Http\Message\ResponseInterface as Response;
|
||||||
use Psr\Http\Message\ServerRequestInterface as Request;
|
use Psr\Http\Message\ServerRequestInterface as Request;
|
||||||
|
|
||||||
class ConfigurationController
|
readonly class ConfigurationController {
|
||||||
{
|
|
||||||
private ConfigurationManager $configurationManager;
|
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
ConfigurationManager $configurationManager
|
private ConfigurationManager $configurationManager
|
||||||
) {
|
) {
|
||||||
$this->configurationManager = $configurationManager;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function SetConfig(Request $request, Response $response, array $args): Response {
|
public function SetConfig(Request $request, Response $response, array $args): Response {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue