Set access modifier on all enums (php 7.1)
This commit is contained in:
@@ -8,8 +8,8 @@ namespace App\Models\Enums;
|
||||
*/
|
||||
class GenericState extends EnumBase
|
||||
{
|
||||
const INACTIVE = 0;
|
||||
const ACTIVE = 1;
|
||||
public const INACTIVE = 0;
|
||||
public const ACTIVE = 1;
|
||||
|
||||
public static $labels = [
|
||||
GenericState::INACTIVE => 'Inactive',
|
||||
|
||||
Reference in New Issue
Block a user