21 lines
412 B
PHP
21 lines
412 B
PHP
<?php
|
|
|
|
namespace App\Support\Verification;
|
|
|
|
enum VerificationCheckSeverity: string
|
|
{
|
|
case Info = 'info';
|
|
case Low = 'low';
|
|
case Medium = 'medium';
|
|
case High = 'high';
|
|
case Critical = 'critical';
|
|
|
|
/**
|
|
* @return array<int, string>
|
|
*/
|
|
public static function values(): array
|
|
{
|
|
return array_map(static fn (self $case): string => $case->value, self::cases());
|
|
}
|
|
}
|