summaryrefslogtreecommitdiffstats
path: root/core/Command/Upgrade.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:54:27 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:54:27 +0200
commit28f8eb5dba60a75f7e22debbdc26f1d3164deb18 (patch)
tree5bb8a104ec6b5af821b81cf392c69167deca4c0a /core/Command/Upgrade.php
parent1584c9ae9c23d2a7915750ef9203cba0bcebf766 (diff)
downloadnextcloud-server-28f8eb5dba60a75f7e22debbdc26f1d3164deb18.tar.gz
nextcloud-server-28f8eb5dba60a75f7e22debbdc26f1d3164deb18.zip
Add visibility to all constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/Command/Upgrade.php')
-rw-r--r--core/Command/Upgrade.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php
index 461884fabe4..f00945a29d0 100644
--- a/core/Command/Upgrade.php
+++ b/core/Command/Upgrade.php
@@ -47,12 +47,12 @@ use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\EventDispatcher\GenericEvent;
class Upgrade extends Command {
- const ERROR_SUCCESS = 0;
- const ERROR_NOT_INSTALLED = 1;
- const ERROR_MAINTENANCE_MODE = 2;
- const ERROR_UP_TO_DATE = 0;
- const ERROR_INVALID_ARGUMENTS = 4;
- const ERROR_FAILURE = 5;
+ public const ERROR_SUCCESS = 0;
+ public const ERROR_NOT_INSTALLED = 1;
+ public const ERROR_MAINTENANCE_MODE = 2;
+ public const ERROR_UP_TO_DATE = 0;
+ public const ERROR_INVALID_ARGUMENTS = 4;
+ public const ERROR_FAILURE = 5;
/** @var IConfig */
private $config;