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/WorkflowEngine/IManager.php | |
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/WorkflowEngine/IManager.php')
-rw-r--r-- | lib/public/WorkflowEngine/IManager.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/public/WorkflowEngine/IManager.php b/lib/public/WorkflowEngine/IManager.php index b9ce157c222..6537666ce08 100644 --- a/lib/public/WorkflowEngine/IManager.php +++ b/lib/public/WorkflowEngine/IManager.php @@ -32,15 +32,15 @@ namespace OCP\WorkflowEngine; * @since 9.1 */ interface IManager { - const SCOPE_ADMIN = 0; - const SCOPE_USER = 1; + public const SCOPE_ADMIN = 0; + public const SCOPE_USER = 1; /** * @depreacted Will be removed in NC19. Use the dedicated events in OCP\WorkflowEngine\Events */ - const EVENT_NAME_REG_OPERATION = 'OCP\WorkflowEngine::registerOperations'; - const EVENT_NAME_REG_ENTITY = 'OCP\WorkflowEngine::registerEntities'; - const EVENT_NAME_REG_CHECK = 'OCP\WorkflowEngine::registerChecks'; + public const EVENT_NAME_REG_OPERATION = 'OCP\WorkflowEngine::registerOperations'; + public const EVENT_NAME_REG_ENTITY = 'OCP\WorkflowEngine::registerEntities'; + public const EVENT_NAME_REG_CHECK = 'OCP\WorkflowEngine::registerChecks'; /** * Listen to `OCP\WorkflowEngine\Events\RegisterEntitiesEvent` at the |