Perfdata: return ThresholdRange from getWarningThreshold() and getCriticalThreshold()
refs #8194
This commit is contained in:
parent
bc5d3b64c4
commit
392231dc81
|
@ -230,21 +230,21 @@ class Perfdata
|
|||
/**
|
||||
* Return this performance data's warning treshold
|
||||
*
|
||||
* @return string
|
||||
* @return ThresholdRange
|
||||
*/
|
||||
public function getWarningThreshold()
|
||||
{
|
||||
return (string) $this->warningThreshold;
|
||||
return $this->warningThreshold;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return this performance data's critical treshold
|
||||
*
|
||||
* @return string
|
||||
* @return ThresholdRange
|
||||
*/
|
||||
public function getCriticalThreshold()
|
||||
{
|
||||
return (string) $this->criticalThreshold;
|
||||
return $this->criticalThreshold;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue