mirror of
https://github.com/Karaka-Management/oms-Marketing.git
synced 2026-02-16 10:08:39 +00:00
php cs fixer
This commit is contained in:
parent
362ea77096
commit
bc2c6b0cb8
|
|
@ -101,7 +101,7 @@ class Promotion
|
||||||
$this->media[] = $media;
|
$this->media[] = $media;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addTask(Task $task)
|
public function addTask(Task $task) : void
|
||||||
{
|
{
|
||||||
if ($task->getId() !== 0) {
|
if ($task->getId() !== 0) {
|
||||||
$this->tasks[$task->getId()] = $task;
|
$this->tasks[$task->getId()] = $task;
|
||||||
|
|
@ -141,12 +141,12 @@ class Promotion
|
||||||
return $this->start;
|
return $this->start;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setStart(\DateTime $start)
|
public function setStart(\DateTime $start) : void
|
||||||
{
|
{
|
||||||
$this->start = $start;
|
$this->start = $start;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setEnd(\DateTime $end)
|
public function setEnd(\DateTime $end) : void
|
||||||
{
|
{
|
||||||
$this->end = $end;
|
$this->end = $end;
|
||||||
}
|
}
|
||||||
|
|
@ -186,7 +186,7 @@ class Promotion
|
||||||
return $this->name;
|
return $this->name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setName(string $name)
|
public function setName(string $name) : void
|
||||||
{
|
{
|
||||||
$this->name = $name;
|
$this->name = $name;
|
||||||
$this->calendar->setName($name);
|
$this->calendar->setName($name);
|
||||||
|
|
@ -197,7 +197,7 @@ class Promotion
|
||||||
return $this->description;
|
return $this->description;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDescription(string $description)
|
public function setDescription(string $description) : void
|
||||||
{
|
{
|
||||||
$this->description = $description;
|
$this->description = $description;
|
||||||
}
|
}
|
||||||
|
|
@ -217,17 +217,17 @@ class Promotion
|
||||||
return $this->earnings;
|
return $this->earnings;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCosts(Money $costs)
|
public function setCosts(Money $costs) : void
|
||||||
{
|
{
|
||||||
$this->costs = $costs;
|
$this->costs = $costs;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setBudget(Money $budget)
|
public function setBudget(Money $budget) : void
|
||||||
{
|
{
|
||||||
$this->budget = $budget;
|
$this->budget = $budget;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setEarnings(Money $earnings)
|
public function setEarnings(Money $earnings) : void
|
||||||
{
|
{
|
||||||
$this->earnings = $earnings;
|
$this->earnings = $earnings;
|
||||||
}
|
}
|
||||||
|
|
@ -257,7 +257,7 @@ class Promotion
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public function setCreatedBy(int $createdBy)
|
public function setCreatedBy(int $createdBy) : void
|
||||||
{
|
{
|
||||||
$this->createdBy = $createdBy;
|
$this->createdBy = $createdBy;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user