mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 22:38:42 +00:00
Fix return type
This commit is contained in:
parent
54a41f6874
commit
2692eae357
|
|
@ -945,7 +945,7 @@ class Measurement
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private static function normalizeSpeed(float $value, string $from) : from
|
private static function normalizeSpeed(float $value, string $from) : float
|
||||||
{
|
{
|
||||||
switch ($from) {
|
switch ($from) {
|
||||||
case SpeedType::KILOMETERS_PER_HOUR:
|
case SpeedType::KILOMETERS_PER_HOUR:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user