mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
update constructor
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
This commit is contained in:
parent
69d9c925d0
commit
496ec9ba17
13 changed files with 84 additions and 193 deletions
|
|
@ -4,16 +4,11 @@ namespace AIO\Data;
|
|||
|
||||
use AIO\Auth\PasswordGenerator;
|
||||
|
||||
class Setup
|
||||
{
|
||||
private PasswordGenerator $passwordGenerator;
|
||||
private ConfigurationManager $configurationManager;
|
||||
|
||||
readonly class Setup {
|
||||
public function __construct(
|
||||
PasswordGenerator $passwordGenerator,
|
||||
ConfigurationManager $configurationManager) {
|
||||
$this->passwordGenerator = $passwordGenerator;
|
||||
$this->configurationManager = $configurationManager;
|
||||
private PasswordGenerator $passwordGenerator,
|
||||
private ConfigurationManager $configurationManager,
|
||||
) {
|
||||
}
|
||||
|
||||
public function Setup() : string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue