Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
20f46adbc4
commit
9596d88b48
@@ -6,21 +6,20 @@ use App\Interfaces\Enum;
|
||||
|
||||
/**
|
||||
* Class UserState
|
||||
* @package App\Models\Enums
|
||||
*/
|
||||
class UserState extends Enum
|
||||
{
|
||||
public const PENDING = 0;
|
||||
public const ACTIVE = 1;
|
||||
public const REJECTED = 2;
|
||||
public const ON_LEAVE = 3;
|
||||
public const PENDING = 0;
|
||||
public const ACTIVE = 1;
|
||||
public const REJECTED = 2;
|
||||
public const ON_LEAVE = 3;
|
||||
public const SUSPENDED = 4;
|
||||
|
||||
protected static $labels = [
|
||||
UserState::PENDING => 'user.state.pending',
|
||||
UserState::ACTIVE => 'user.state.active',
|
||||
UserState::REJECTED => 'user.state.rejected',
|
||||
UserState::ON_LEAVE => 'user.state.on_leave',
|
||||
UserState::SUSPENDED => 'user.state.suspended',
|
||||
self::PENDING => 'user.state.pending',
|
||||
self::ACTIVE => 'user.state.active',
|
||||
self::REJECTED => 'user.state.rejected',
|
||||
self::ON_LEAVE => 'user.state.on_leave',
|
||||
self::SUSPENDED => 'user.state.suspended',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user