| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class Kilometer extends Distable |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @return string |
||
| 13 | */ |
||
| 14 | public static function property(): string |
||
| 15 | { |
||
| 16 | return Distance::PROPERTY_KILOMETERS; |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return string |
||
| 21 | */ |
||
| 22 | public static function name(): string |
||
| 23 | { |
||
| 24 | return 'kilometer'; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return float |
||
| 29 | */ |
||
| 30 | public static function oneMile(): float |
||
| 33 | } |
||
| 34 | |||
| 35 | } |
||
| 36 |