mirror of
https://github.com/Karaka-Management/oms-Marketing.git
synced 2026-02-17 10:28:40 +00:00
phpstan fixes
This commit is contained in:
parent
2c5d279f23
commit
0cd306df6a
|
|
@ -38,9 +38,9 @@ class Promotion
|
||||||
*/
|
*/
|
||||||
protected int $id = 0;
|
protected int $id = 0;
|
||||||
|
|
||||||
private $start = null;
|
private \DateTime $start;
|
||||||
|
|
||||||
private $end = null;
|
private \DateTime $end;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Name.
|
* Name.
|
||||||
|
|
@ -58,19 +58,19 @@ class Promotion
|
||||||
*/
|
*/
|
||||||
public string $description = '';
|
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.
|
* Created at.
|
||||||
|
|
@ -88,7 +88,7 @@ class Promotion
|
||||||
*/
|
*/
|
||||||
public Account $createdBy;
|
public Account $createdBy;
|
||||||
|
|
||||||
private $tasks = [];
|
private array $tasks = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cosntructor
|
* Cosntructor
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user