Fix return type

This commit is contained in:
Dennis Eichhorn 2017-11-11 14:25:35 +01:00
parent 54a41f6874
commit 2692eae357

View File

@ -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: