From 85d68248317e22e06615b2fe77610c42b9d0e82d Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 13 Mar 2016 21:46:37 +0100 Subject: [PATCH] Modify fix --- Models/Project.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Models/Project.php b/Models/Project.php index 394d639..98a2f0f 100644 --- a/Models/Project.php +++ b/Models/Project.php @@ -64,10 +64,11 @@ class Project private $tasks = []; - public function __construct(string $name = '') { + public function __construct(string $name = '') + { $this->start = new \DateTime('now'); $this->end = new \DateTime('now'); - $this->end->modify('+1M'); + $this->end->modify('+1 month'); $this->createdAt = new \DateTime('now'); $this->calendar = new Calendar();