This commit is contained in:
parent
fa2580099b
commit
a663c3914d
@ -51,7 +51,7 @@ class PageController extends Controller {
|
|||||||
IManager $shareManager,
|
IManager $shareManager,
|
||||||
string $UserId,
|
string $UserId,
|
||||||
BookmarkService $bookmarkService,
|
BookmarkService $bookmarkService,
|
||||||
PreferenceService $preferenceService,
|
PreferenceService $preferenceService
|
||||||
) {
|
) {
|
||||||
parent::__construct($AppName, $request);
|
parent::__construct($AppName, $request);
|
||||||
$this->urlGenerator = $urlGenerator;
|
$this->urlGenerator = $urlGenerator;
|
||||||
|
@ -24,10 +24,7 @@ class Hooks {
|
|||||||
private IRootFolder $rootFolder;
|
private IRootFolder $rootFolder;
|
||||||
private IDBConnection $dbConnection;
|
private IDBConnection $dbConnection;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(IRootFolder $rootFolder, IDBConnection $dbConnection) {
|
||||||
IRootFolder $rootFolder,
|
|
||||||
IDBConnection $dbConnection,
|
|
||||||
) {
|
|
||||||
$this->rootFolder = $rootFolder;
|
$this->rootFolder = $rootFolder;
|
||||||
$this->dbConnection = $dbConnection;
|
$this->dbConnection = $dbConnection;
|
||||||
}
|
}
|
||||||
|
@ -21,10 +21,7 @@ class Personal implements ISettings {
|
|||||||
private string $userId;
|
private string $userId;
|
||||||
private IConfig $configManager;
|
private IConfig $configManager;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(string $userId, IConfig $configManager) {
|
||||||
string $userId,
|
|
||||||
IConfig $configManager
|
|
||||||
) {
|
|
||||||
$this->userId = $userId;
|
$this->userId = $userId;
|
||||||
$this->configManager = $configManager;
|
$this->configManager = $configManager;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user