From 2692eae3576b6880d3cd316216a25371a3e7552a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 11 Nov 2017 14:25:35 +0100 Subject: [PATCH] Fix return type --- Utils/Converter/Measurement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utils/Converter/Measurement.php b/Utils/Converter/Measurement.php index 8d12f314e..fab493926 100644 --- a/Utils/Converter/Measurement.php +++ b/Utils/Converter/Measurement.php @@ -945,7 +945,7 @@ class Measurement * * @since 1.0.0 */ - private static function normalizeSpeed(float $value, string $from) : from + private static function normalizeSpeed(float $value, string $from) : float { switch ($from) { case SpeedType::KILOMETERS_PER_HOUR: