diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 16:54:27 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 16:54:27 +0200 |
commit | 28f8eb5dba60a75f7e22debbdc26f1d3164deb18 (patch) | |
tree | 5bb8a104ec6b5af821b81cf392c69167deca4c0a /lib/public/Dashboard | |
parent | 1584c9ae9c23d2a7915750ef9203cba0bcebf766 (diff) | |
download | nextcloud-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/public/Dashboard')
-rw-r--r-- | lib/public/Dashboard/Model/WidgetSetting.php | 4 | ||||
-rw-r--r-- | lib/public/Dashboard/Model/WidgetSetup.php | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/public/Dashboard/Model/WidgetSetting.php b/lib/public/Dashboard/Model/WidgetSetting.php index 27daa76cbdf..f3586b46faf 100644 --- a/lib/public/Dashboard/Model/WidgetSetting.php +++ b/lib/public/Dashboard/Model/WidgetSetting.php @@ -48,8 +48,8 @@ use JsonSerializable; * @package OCP\Dashboard\Model */ final class WidgetSetting implements JsonSerializable { - const TYPE_INPUT = 'input'; - const TYPE_CHECKBOX = 'checkbox'; + public const TYPE_INPUT = 'input'; + public const TYPE_CHECKBOX = 'checkbox'; /** @var string */ diff --git a/lib/public/Dashboard/Model/WidgetSetup.php b/lib/public/Dashboard/Model/WidgetSetup.php index 8a502b09e58..5440b0cc93a 100644 --- a/lib/public/Dashboard/Model/WidgetSetup.php +++ b/lib/public/Dashboard/Model/WidgetSetup.php @@ -41,9 +41,9 @@ use JsonSerializable; * @package OCP\Dashboard\Model */ final class WidgetSetup implements JsonSerializable { - const SIZE_TYPE_MIN = 'min'; - const SIZE_TYPE_MAX = 'max'; - const SIZE_TYPE_DEFAULT = 'default'; + public const SIZE_TYPE_MIN = 'min'; + public const SIZE_TYPE_MAX = 'max'; + public const SIZE_TYPE_DEFAULT = 'default'; /** @var array */ |