mirror of
https://github.com/Karaka-Management/oms-RiskManagement.git
synced 2026-02-08 16:28:41 +00:00
Mapper/Module/Schema fixes thanks to new tests
This commit is contained in:
parent
718c6ad78a
commit
11b90b0705
|
|
@ -32,7 +32,7 @@ class Cause
|
||||||
|
|
||||||
private $descriptionRaw = '';
|
private $descriptionRaw = '';
|
||||||
|
|
||||||
private $probability = 0.0;
|
private $probability = 0;
|
||||||
|
|
||||||
private $department = null;
|
private $department = null;
|
||||||
|
|
||||||
|
|
@ -69,12 +69,12 @@ class Cause
|
||||||
$this->category = $category;
|
$this->category = $category;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getProbability() : float
|
public function getProbability() : int
|
||||||
{
|
{
|
||||||
return $this->probability;
|
return $this->probability;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setProbability(float $probability) : void
|
public function setProbability(int $probability) : void
|
||||||
{
|
{
|
||||||
$this->probability = $probability;
|
$this->probability = $probability;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ class Solution
|
||||||
|
|
||||||
private $descriptionRaw = '';
|
private $descriptionRaw = '';
|
||||||
|
|
||||||
private $probability = 0.0;
|
private $probability = 0;
|
||||||
|
|
||||||
private $cause = null;
|
private $cause = null;
|
||||||
|
|
||||||
|
|
@ -67,12 +67,12 @@ class Solution
|
||||||
return $this->cause;
|
return $this->cause;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getProbability() : float
|
public function getProbability() : int
|
||||||
{
|
{
|
||||||
return $this->probability;
|
return $this->probability;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setProbability(float $probability) : void
|
public function setProbability(int $probability) : void
|
||||||
{
|
{
|
||||||
$this->probability = $probability;
|
$this->probability = $probability;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user