mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
Perfdata
: Fix return type for method convert()
This commit is contained in:
parent
8fe428f987
commit
b813e0badb
@ -350,10 +350,10 @@ class Perfdata
|
|||||||
/**
|
/**
|
||||||
* Return the given value converted to its smallest supported representation
|
* Return the given value converted to its smallest supported representation
|
||||||
*
|
*
|
||||||
* @param string $value The value to convert
|
* @param string $value The value to convert
|
||||||
* @param string $fromUnit The unit the value currently represents
|
* @param string $fromUnit The unit the value currently represents
|
||||||
*
|
*
|
||||||
* @return null|float Null in case the value is not a number
|
* @return ThresholdRange|null|float Null in case the value is not a number
|
||||||
*/
|
*/
|
||||||
protected static function convert($value, $fromUnit = null)
|
protected static function convert($value, $fromUnit = null)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user