mirror of
https://github.com/Karaka-Management/oms-EventManagement.git
synced 2026-02-13 00:08:42 +00:00
phpstan fixes
This commit is contained in:
parent
4b7aa0cd6f
commit
fa6251e590
|
|
@ -41,9 +41,9 @@ class Event
|
||||||
|
|
||||||
private int $type = EventType::DEFAULT;
|
private int $type = EventType::DEFAULT;
|
||||||
|
|
||||||
private $start = null;
|
public \DateTime $start;
|
||||||
|
|
||||||
private $end = null;
|
public \DateTime $end;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Name.
|
* Name.
|
||||||
|
|
@ -61,21 +61,21 @@ class Event
|
||||||
*/
|
*/
|
||||||
public string $description = '';
|
public string $description = '';
|
||||||
|
|
||||||
private $calendar = null;
|
public Calendar $calendar;
|
||||||
|
|
||||||
private $costs = null;
|
public Money $costs;
|
||||||
|
|
||||||
private $budget = null;
|
public Money $budget;
|
||||||
|
|
||||||
private $earnings = null;
|
public Money $earnings;
|
||||||
|
|
||||||
private $tasks = [];
|
private array $tasks = [];
|
||||||
|
|
||||||
private $media = [];
|
private array $media = [];
|
||||||
|
|
||||||
private $progress = 0;
|
private int $progress = 0;
|
||||||
|
|
||||||
private $progressType = ProgressType::MANUAL;
|
private int $progressType = ProgressType::MANUAL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created.
|
* Created.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user