aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Updater
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 /lib/private/Updater
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 'lib/private/Updater')
-rw-r--r--lib/private/Updater/ChangesCheck.php6
-rw-r--r--lib/private/Updater/ChangesMapper.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Updater/ChangesCheck.php b/lib/private/Updater/ChangesCheck.php
index 8700b9609d2..cde7517d3c5 100644
--- a/lib/private/Updater/ChangesCheck.php
+++ b/lib/private/Updater/ChangesCheck.php
@@ -40,9 +40,9 @@ class ChangesCheck {
/** @var ILogger */
private $logger;
- const RESPONSE_NO_CONTENT = 0;
- const RESPONSE_USE_CACHE = 1;
- const RESPONSE_HAS_CONTENT = 2;
+ public const RESPONSE_NO_CONTENT = 0;
+ public const RESPONSE_USE_CACHE = 1;
+ public const RESPONSE_HAS_CONTENT = 2;
public function __construct(IClientService $clientService, ChangesMapper $mapper, ILogger $logger) {
$this->clientService = $clientService;
diff --git a/lib/private/Updater/ChangesMapper.php b/lib/private/Updater/ChangesMapper.php
index b79eadbff58..b3b578f61e1 100644
--- a/lib/private/Updater/ChangesMapper.php
+++ b/lib/private/Updater/ChangesMapper.php
@@ -32,7 +32,7 @@ use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IDBConnection;
class ChangesMapper extends QBMapper {
- const TABLE_NAME = 'whats_new';
+ public const TABLE_NAME = 'whats_new';
public function __construct(IDBConnection $db) {
parent::__construct($db, self::TABLE_NAME);