diff --git a/Controller.php b/Controller.php index 8c21b85..c7fe71d 100644 --- a/Controller.php +++ b/Controller.php @@ -41,7 +41,7 @@ class Controller extends ModuleAbstract implements WebInterface * @var string * @since 1.0.0 */ - const MODULE_PATH = __DIR__; + /* public */ const MODULE_PATH = __DIR__; /** * Module version. @@ -49,7 +49,7 @@ class Controller extends ModuleAbstract implements WebInterface * @var string * @since 1.0.0 */ - const MODULE_VERSION = '1.0.0'; + /* public */ const MODULE_VERSION = '1.0.0'; /** * Module name. @@ -57,7 +57,7 @@ class Controller extends ModuleAbstract implements WebInterface * @var string * @since 1.0.0 */ - const MODULE_NAME = 'Workflow'; + /* public */ const MODULE_NAME = 'Workflow'; /** * Providing. diff --git a/Models/WorkflowStatus.php b/Models/WorkflowStatus.php index bdad6a2..d124b02 100644 --- a/Models/WorkflowStatus.php +++ b/Models/WorkflowStatus.php @@ -30,10 +30,10 @@ use phpOMS\Datatypes\Enum; */ abstract class WorkflowStatus extends Enum { - const OPEN = 1; - const WORKING = 2; - const SUSPENDED = 3; - const CANCELED = 4; - const DONE = 5; - const CLOSED = 6; + /* public */ const OPEN = 1; + /* public */ const WORKING = 2; + /* public */ const SUSPENDED = 3; + /* public */ const CANCELED = 4; + /* public */ const DONE = 5; + /* public */ const CLOSED = 6; } diff --git a/Templates/Permission/PermissionStatus.php b/Templates/Permission/PermissionStatus.php index 4e62c79..cf91570 100644 --- a/Templates/Permission/PermissionStatus.php +++ b/Templates/Permission/PermissionStatus.php @@ -30,7 +30,7 @@ use phpOMS\Datatypes\Enum; */ abstract class PermissionStatus extends Enum { - const PENDING = 1; - const APPROVED = 2; - const DISMISSED = 3; + /* public */ const PENDING = 1; + /* public */ const APPROVED = 2; + /* public */ const DISMISSED = 3; } diff --git a/Templates/Permission/States.php b/Templates/Permission/States.php index 51dbf46..57caa7a 100644 --- a/Templates/Permission/States.php +++ b/Templates/Permission/States.php @@ -30,8 +30,8 @@ use phpOMS\Datatypes\Enum; */ abstract class States extends Enum { - const DEFAULT = 0; - const PENDING = 1; - const APPROVED = 2; - const DISMISSED = 3; + /* public */ const DEFAULT = 0; + /* public */ const PENDING = 1; + /* public */ const APPROVED = 2; + /* public */ const DISMISSED = 3; }