Set access modifier on all enums (php 7.1)

This commit is contained in:
Nabeel Shahzad
2018-02-10 14:06:25 -06:00
parent e6290c3396
commit 7a527f2ed3
13 changed files with 55 additions and 56 deletions

View File

@@ -7,11 +7,11 @@ namespace App\Models\Enums;
class UserState extends EnumBase
{
const PENDING = 0;
const ACTIVE = 1;
const REJECTED = 2;
const ON_LEAVE = 3;
const SUSPENDED = 4;
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 => 'Pending',