change name enum

This commit is contained in:
2025-10-22 15:14:57 +03:30
parent 6dfb6bafd5
commit 0b3ade503b
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ enum HarimRoadType : string
case ASLI_VA_BOZORGRAH = 'اصلی و بزرگراه';
case AZADRAH = 'آزادراه';
public function value(): float
public function amount(): float
{
return match ($this) {
self::FARE_VA_RAH_AHAN => 1.0,