aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/ClientFlowLoginController.php2
-rw-r--r--core/Controller/LoginController.php4
-rw-r--r--core/Controller/SetupController.php2
-rw-r--r--core/Controller/WalledGardenController.php2
4 files changed, 5 insertions, 5 deletions
diff --git a/core/Controller/ClientFlowLoginController.php b/core/Controller/ClientFlowLoginController.php
index dad43fc837a..748a4cf50d2 100644
--- a/core/Controller/ClientFlowLoginController.php
+++ b/core/Controller/ClientFlowLoginController.php
@@ -77,7 +77,7 @@ class ClientFlowLoginController extends Controller {
/** @var EventDispatcherInterface */
private $eventDispatcher;
- const stateName = 'client.flow.state.token';
+ public const stateName = 'client.flow.state.token';
/**
* @param string $appName
diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php
index 4813f15f1c5..0fcadd21c8a 100644
--- a/core/Controller/LoginController.php
+++ b/core/Controller/LoginController.php
@@ -57,8 +57,8 @@ use OCP\IUserSession;
use OCP\Util;
class LoginController extends Controller {
- const LOGIN_MSG_INVALIDPASSWORD = 'invalidpassword';
- const LOGIN_MSG_USERDISABLED = 'userdisabled';
+ public const LOGIN_MSG_INVALIDPASSWORD = 'invalidpassword';
+ public const LOGIN_MSG_USERDISABLED = 'userdisabled';
/** @var IUserManager */
private $userManager;
diff --git a/core/Controller/SetupController.php b/core/Controller/SetupController.php
index b57b991884c..dd7e4eefc81 100644
--- a/core/Controller/SetupController.php
+++ b/core/Controller/SetupController.php
@@ -44,7 +44,7 @@ class SetupController {
/**
* @param Setup $setupHelper
*/
- function __construct(Setup $setupHelper) {
+ public function __construct(Setup $setupHelper) {
$this->autoConfigFile = \OC::$configDir.'autoconfig.php';
$this->setupHelper = $setupHelper;
}
diff --git a/core/Controller/WalledGardenController.php b/core/Controller/WalledGardenController.php
index 5bd66225076..fd2b3cbf902 100644
--- a/core/Controller/WalledGardenController.php
+++ b/core/Controller/WalledGardenController.php
@@ -35,7 +35,7 @@ class WalledGardenController extends Controller {
*
* @return Response
*/
- function get() {
+ public function get() {
$resp = new Response();
$resp->setStatus(Http::STATUS_NO_CONTENT);
return $resp;