summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Command
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:51:06 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:51:06 +0200
commit1584c9ae9c23d2a7915750ef9203cba0bcebf766 (patch)
tree568db931f631afd6e96772cf2b3ac539c989ec42 /apps/dav/lib/Command
parenta7c8d26d31cb1cf69e0e060c53622e545fcfbbb3 (diff)
downloadnextcloud-server-1584c9ae9c23d2a7915750ef9203cba0bcebf766.tar.gz
nextcloud-server-1584c9ae9c23d2a7915750ef9203cba0bcebf766.zip
Add visibility to all methods and position of static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/dav/lib/Command')
-rw-r--r--apps/dav/lib/Command/CreateAddressBook.php2
-rw-r--r--apps/dav/lib/Command/CreateCalendar.php2
-rw-r--r--apps/dav/lib/Command/ListCalendars.php2
-rw-r--r--apps/dav/lib/Command/MoveCalendar.php2
-rw-r--r--apps/dav/lib/Command/SyncBirthdayCalendar.php2
-rw-r--r--apps/dav/lib/Command/SyncSystemAddressBook.php2
6 files changed, 6 insertions, 6 deletions
diff --git a/apps/dav/lib/Command/CreateAddressBook.php b/apps/dav/lib/Command/CreateAddressBook.php
index 5756c4b37b5..ac91e727953 100644
--- a/apps/dav/lib/Command/CreateAddressBook.php
+++ b/apps/dav/lib/Command/CreateAddressBook.php
@@ -43,7 +43,7 @@ class CreateAddressBook extends Command {
* @param IUserManager $userManager
* @param CardDavBackend $cardDavBackend
*/
- function __construct(IUserManager $userManager,
+ public function __construct(IUserManager $userManager,
CardDavBackend $cardDavBackend
) {
parent::__construct();
diff --git a/apps/dav/lib/Command/CreateCalendar.php b/apps/dav/lib/Command/CreateCalendar.php
index d2e19ef99d9..d7597b8b1f6 100644
--- a/apps/dav/lib/Command/CreateCalendar.php
+++ b/apps/dav/lib/Command/CreateCalendar.php
@@ -53,7 +53,7 @@ class CreateCalendar extends Command {
* @param IGroupManager $groupManager
* @param IDBConnection $dbConnection
*/
- function __construct(IUserManager $userManager, IGroupManager $groupManager, IDBConnection $dbConnection) {
+ public function __construct(IUserManager $userManager, IGroupManager $groupManager, IDBConnection $dbConnection) {
parent::__construct();
$this->userManager = $userManager;
$this->groupManager = $groupManager;
diff --git a/apps/dav/lib/Command/ListCalendars.php b/apps/dav/lib/Command/ListCalendars.php
index e63fbd2066e..8687207ef31 100644
--- a/apps/dav/lib/Command/ListCalendars.php
+++ b/apps/dav/lib/Command/ListCalendars.php
@@ -46,7 +46,7 @@ class ListCalendars extends Command {
* @param IUserManager $userManager
* @param CalDavBackend $caldav
*/
- function __construct(IUserManager $userManager, CalDavBackend $caldav) {
+ public function __construct(IUserManager $userManager, CalDavBackend $caldav) {
parent::__construct();
$this->userManager = $userManager;
$this->caldav = $caldav;
diff --git a/apps/dav/lib/Command/MoveCalendar.php b/apps/dav/lib/Command/MoveCalendar.php
index 845e8970698..366e51ad189 100644
--- a/apps/dav/lib/Command/MoveCalendar.php
+++ b/apps/dav/lib/Command/MoveCalendar.php
@@ -72,7 +72,7 @@ class MoveCalendar extends Command {
* @param IL10N $l10n
* @param CalDavBackend $calDav
*/
- function __construct(
+ public function __construct(
IUserManager $userManager,
IGroupManager $groupManager,
IShareManager $shareManager,
diff --git a/apps/dav/lib/Command/SyncBirthdayCalendar.php b/apps/dav/lib/Command/SyncBirthdayCalendar.php
index 211df745e41..14e77e08d73 100644
--- a/apps/dav/lib/Command/SyncBirthdayCalendar.php
+++ b/apps/dav/lib/Command/SyncBirthdayCalendar.php
@@ -52,7 +52,7 @@ class SyncBirthdayCalendar extends Command {
* @param IConfig $config
* @param BirthdayService $birthdayService
*/
- function __construct(IUserManager $userManager, IConfig $config,
+ public function __construct(IUserManager $userManager, IConfig $config,
BirthdayService $birthdayService) {
parent::__construct();
$this->birthdayService = $birthdayService;
diff --git a/apps/dav/lib/Command/SyncSystemAddressBook.php b/apps/dav/lib/Command/SyncSystemAddressBook.php
index f707e733add..1f139de236a 100644
--- a/apps/dav/lib/Command/SyncSystemAddressBook.php
+++ b/apps/dav/lib/Command/SyncSystemAddressBook.php
@@ -37,7 +37,7 @@ class SyncSystemAddressBook extends Command {
/**
* @param SyncService $syncService
*/
- function __construct(SyncService $syncService) {
+ public function __construct(SyncService $syncService) {
parent::__construct();
$this->syncService = $syncService;
}