aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Lib/DefinitionParameter.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 /apps/files_external/lib/Lib/DefinitionParameter.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 'apps/files_external/lib/Lib/DefinitionParameter.php')
-rw-r--r--apps/files_external/lib/Lib/DefinitionParameter.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/files_external/lib/Lib/DefinitionParameter.php b/apps/files_external/lib/Lib/DefinitionParameter.php
index 2e1ce7fb1dd..519de22d70d 100644
--- a/apps/files_external/lib/Lib/DefinitionParameter.php
+++ b/apps/files_external/lib/Lib/DefinitionParameter.php
@@ -29,18 +29,18 @@ namespace OCA\Files_External\Lib;
class DefinitionParameter implements \JsonSerializable {
// placeholder value for password fields, when the client updates a storage configuration
// placeholder values are ignored and the field is left unmodified
- const UNMODIFIED_PLACEHOLDER = '__unmodified__';
+ public const UNMODIFIED_PLACEHOLDER = '__unmodified__';
/** Value constants */
- const VALUE_TEXT = 0;
- const VALUE_BOOLEAN = 1;
- const VALUE_PASSWORD = 2;
- const VALUE_HIDDEN = 3;
+ public const VALUE_TEXT = 0;
+ public const VALUE_BOOLEAN = 1;
+ public const VALUE_PASSWORD = 2;
+ public const VALUE_HIDDEN = 3;
/** Flag constants */
- const FLAG_NONE = 0;
- const FLAG_OPTIONAL = 1;
- const FLAG_USER_PROVIDED = 2;
+ public const FLAG_NONE = 0;
+ public const FLAG_OPTIONAL = 1;
+ public const FLAG_USER_PROVIDED = 2;
/** @var string name of parameter */
private $name;