mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-22 06:18:41 +00:00
Fix return type
This commit is contained in:
parent
54a41f6874
commit
2692eae357
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user