Perfdata: return ThresholdRange from getWarningThreshold() and getCriticalThreshold()

refs #8194
This commit is contained in:
Alexander A. Klimov 2016-04-29 11:21:43 +02:00 committed by Johannes Meyer
parent bc5d3b64c4
commit 392231dc81
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}
/**