From 4eec1a5ccff131b10bbe8a9ce8a47c743b5b6256 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 27 Nov 2020 22:56:16 +0100 Subject: [PATCH] phpstan fixes --- Models/Project.php | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/Models/Project.php b/Models/Project.php index aa231ad..accf6d8 100755 --- a/Models/Project.php +++ b/Models/Project.php @@ -91,10 +91,10 @@ class Project /** * Calendar. * - * @var int|Calendar + * @var Calendar * @since 1.0.0 */ - private $calendar; + public Calendar $calendar; /** * Current total costs. @@ -497,18 +497,6 @@ class Project return $this->end; } - /** - * Get calendar - * - * @return Calendar - * - * @since 1.0.0 - */ - public function getCalendar() : Calendar - { - return $this->calendar; - } - /** * Get name *