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

@@ -5,12 +5,12 @@ namespace App\Models\Enums;
class PirepState extends EnumBase {
const REJECTED = -1;
const IN_PROGRESS = 0;
const PENDING = 1;
const ACCEPTED = 2;
const CANCELLED = 3;
const DELETED = 4;
public const REJECTED = -1;
public const IN_PROGRESS = 0;
public const PENDING = 1;
public const ACCEPTED = 2;
public const CANCELLED = 3;
public const DELETED = 4;
protected static $labels = [
PirepState::REJECTED => 'system.pireps.state.rejected',