`Perfdata`: Fix return type for method `convert()`

This commit is contained in:
raviks789 2023-08-14 14:46:37 +02:00
parent 8fe428f987
commit b813e0badb
1 changed files with 3 additions and 3 deletions

View File

@ -353,7 +353,7 @@ class Perfdata
* @param string $value The value to convert
* @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)
{