phpstan fixes

This commit is contained in:
Dennis Eichhorn 2020-11-27 22:56:16 +01:00
parent a2e03c2344
commit 4eec1a5ccf

View File

@ -91,10 +91,10 @@ class Project
/** /**
* Calendar. * Calendar.
* *
* @var int|Calendar * @var Calendar
* @since 1.0.0 * @since 1.0.0
*/ */
private $calendar; public Calendar $calendar;
/** /**
* Current total costs. * Current total costs.
@ -497,18 +497,6 @@ class Project
return $this->end; return $this->end;
} }
/**
* Get calendar
*
* @return Calendar
*
* @since 1.0.0
*/
public function getCalendar() : Calendar
{
return $this->calendar;
}
/** /**
* Get name * Get name
* *