diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-11 21:13:54 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-11 21:13:54 -0500 |
commit | 4f38bf4c689ac3b3cb8b37c86e865602502caaf6 (patch) | |
tree | b2f8b23a68a5c3266536899dfdcfac3fa038a315 /app | |
parent | f7e8bb8fa83fb7ef2be12cad3f4627f91f09cfb2 (diff) |
Move TaskValidator class
Diffstat (limited to 'app')
-rw-r--r-- | app/ServiceProvider/ClassProvider.php | 2 | ||||
-rw-r--r-- | app/Validator/TaskValidator.php (renamed from app/Model/TaskValidator.php) | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/ServiceProvider/ClassProvider.php b/app/ServiceProvider/ClassProvider.php index ca6dcf5d..44dba45b 100644 --- a/app/ServiceProvider/ClassProvider.php +++ b/app/ServiceProvider/ClassProvider.php @@ -63,7 +63,6 @@ class ClassProvider implements ServiceProviderInterface 'TaskPermission', 'TaskPosition', 'TaskStatus', - 'TaskValidator', 'TaskImport', 'TaskMetadata', 'Transition', @@ -87,6 +86,7 @@ class ClassProvider implements ServiceProviderInterface ), 'Validator' => array( 'PasswordResetValidator', + 'TaskValidator', 'UserValidator', ), 'Core' => array( diff --git a/app/Model/TaskValidator.php b/app/Validator/TaskValidator.php index 683cb0b1..c18a9761 100644 --- a/app/Model/TaskValidator.php +++ b/app/Validator/TaskValidator.php @@ -1,14 +1,14 @@ <?php -namespace Kanboard\Model; +namespace Kanboard\Validator; use SimpleValidator\Validator; use SimpleValidator\Validators; /** - * Task validator model + * Task Validator * - * @package model + * @package validator * @author Frederic Guillot */ class TaskValidator extends Base |