mirror of
https://github.com/Karaka-Management/oms-Marketing.git
synced 2026-02-17 10:28:40 +00:00
Scrutinizer php fixes
This commit is contained in:
parent
09b793c44b
commit
19f7fd1808
|
|
@ -117,26 +117,6 @@ class Promotion
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getProgress() : int
|
|
||||||
{
|
|
||||||
return $this->progress;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function setProgress(int $progress) /* : void */
|
|
||||||
{
|
|
||||||
$this->progress = $progres;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getProgressType() : int
|
|
||||||
{
|
|
||||||
return $this->progressType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function setProgressType(int $type) /* : void */
|
|
||||||
{
|
|
||||||
$this->progressType = $type;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getTask(int $id) : Task
|
public function getTask(int $id) : Task
|
||||||
{
|
{
|
||||||
return $this->tasks[$id] ?? new Task();
|
return $this->tasks[$id] ?? new Task();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user