add pending to status

This commit is contained in:
2025-04-23 09:06:50 +03:30
parent 16c143fa4c
commit 8513ebd728
2 changed files with 5 additions and 1 deletions

View File

@@ -6,12 +6,14 @@ enum SafetyAndPrivacyStatus: int
{
case CONFIRM = 1;
case REJECT = 2;
case PENDING = 3;
public static function name(int $state): string
{
$mapArray = [
1 => 'تایید',
2 => 'عدم تایید',
3 => 'در حال بررسی'
];
return $mapArray[$state];