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();