mirror of
https://github.com/Karaka-Management/oms-Marketing.git
synced 2026-02-08 22:48:41 +00:00
phpstan fixes
This commit is contained in:
parent
2c5d279f23
commit
0cd306df6a
|
|
@ -38,9 +38,9 @@ class Promotion
|
|||
*/
|
||||
protected int $id = 0;
|
||||
|
||||
private $start = null;
|
||||
private \DateTime $start;
|
||||
|
||||
private $end = null;
|
||||
private \DateTime $end;
|
||||
|
||||
/**
|
||||
* Name.
|
||||
|
|
@ -58,19 +58,19 @@ class Promotion
|
|||
*/
|
||||
public string $description = '';
|
||||
|
||||
private $calendar = null;
|
||||
private Calendar $calendar;
|
||||
|
||||
private $costs = null;
|
||||
private Money $costs;
|
||||
|
||||
private $budget = null;
|
||||
private Money $budget;
|
||||
|
||||
private $earnings = null;
|
||||
private Money $earnings;
|
||||
|
||||
private $media = [];
|
||||
private array $media = [];
|
||||
|
||||
private $progress = 0;
|
||||
private int $progress = 0;
|
||||
|
||||
private $progressType = ProgressType::MANUAL;
|
||||
private int $progressType = ProgressType::MANUAL;
|
||||
|
||||
/**
|
||||
* Created at.
|
||||
|
|
@ -88,7 +88,7 @@ class Promotion
|
|||
*/
|
||||
public Account $createdBy;
|
||||
|
||||
private $tasks = [];
|
||||
private array $tasks = [];
|
||||
|
||||
/**
|
||||
* Cosntructor
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user