From cce2669a5576a8f0644d975b37fc30ec94e5f10a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 7 Dec 2016 20:23:04 +0100 Subject: [PATCH] Prepare const visibility --- Controller.php | 6 +++--- Models/SupportStatus.php | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Controller.php b/Controller.php index 447ee64..a62f1e8 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 = 'Support'; + /* public */ const MODULE_NAME = 'Support'; /** * Providing. diff --git a/Models/SupportStatus.php b/Models/SupportStatus.php index a3fff1c..b738fc0 100644 --- a/Models/SupportStatus.php +++ b/Models/SupportStatus.php @@ -30,17 +30,17 @@ use phpOMS\Datatypes\Enum; */ abstract class SupportStatus extends Enum { - const OPEN = 0; + /* public */ const OPEN = 0; - const REVIEW = 1; + /* public */ const REVIEW = 1; - const LIVE = 2; + /* public */ const LIVE = 2; - const HOLD = 3; + /* public */ const HOLD = 3; - const UNSOLVABLE = 4; + /* public */ const UNSOLVABLE = 4; - const SOLVED = 5; + /* public */ const SOLVED = 5; - const CLOSED = 6; + /* public */ const CLOSED = 6; }