From 1123ebcca28f1034d8c23dac7c89fceb68aeaa00 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 3 Feb 2018 13:09:09 +0100 Subject: [PATCH] phpcbf --- Admin/Update.php | 1 - Models/Event.php | 4 ++-- Models/ProgressType.php | 8 ++++---- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Admin/Update.php b/Admin/Update.php index 41e06c4..9838b70 100644 --- a/Admin/Update.php +++ b/Admin/Update.php @@ -19,7 +19,6 @@ use phpOMS\Module\UpdateAbstract; use phpOMS\System\File\Directory; use phpOMS\Module\InfoManager; - /** * Navigation class. * diff --git a/Models/Event.php b/Models/Event.php index fb7886a..bc43b8c 100644 --- a/Models/Event.php +++ b/Models/Event.php @@ -82,8 +82,8 @@ class Event public function __construct(string $name = '') { - $this->start = new \DateTime('now'); - $this->end = (new \DateTime('now'))->modify('+1 month'); + $this->start = new \DateTime('now'); + $this->end = (new \DateTime('now'))->modify('+1 month'); $this->calendar = new Calendar(); $this->costs = new Money(); $this->budget = new Money(); diff --git a/Models/ProgressType.php b/Models/ProgressType.php index 2a61824..aa2dcb2 100644 --- a/Models/ProgressType.php +++ b/Models/ProgressType.php @@ -26,9 +26,9 @@ use phpOMS\Stdlib\Base\Enum; */ abstract class ProgressType extends Enum { - /* public */ const MANUAL = 0; - /* public */ const LINEAR = 1; + /* public */ const MANUAL = 0; + /* public */ const LINEAR = 1; /* public */ const EXPONENTIAL = 2; - /* public */ const LOG = 3; - /* public */ const TASKS = 4; + /* public */ const LOG = 3; + /* public */ const TASKS = 4; }