Fix formatting and interfaces in nearly every file
This commit is contained in:
@@ -8,21 +8,21 @@ use App\Interfaces\Enum;
|
||||
* Class PirepState
|
||||
* @package App\Models\Enums
|
||||
*/
|
||||
class PirepState extends Enum {
|
||||
|
||||
public const REJECTED = -1;
|
||||
public const IN_PROGRESS = 0; // flight is ongoing
|
||||
public const PENDING = 1; // waiting admin approval
|
||||
public const ACCEPTED = 2;
|
||||
public const CANCELLED = 3;
|
||||
public const DELETED = 4;
|
||||
class PirepState extends Enum
|
||||
{
|
||||
public const REJECTED = -1;
|
||||
public const IN_PROGRESS = 0; // flight is ongoing
|
||||
public const PENDING = 1; // waiting admin approval
|
||||
public const ACCEPTED = 2;
|
||||
public const CANCELLED = 3;
|
||||
public const DELETED = 4;
|
||||
|
||||
protected static $labels = [
|
||||
PirepState::REJECTED => 'system.pireps.state.rejected',
|
||||
PirepState::IN_PROGRESS => 'system.pireps.state.in_progress',
|
||||
PirepState::PENDING => 'system.pireps.state.pending',
|
||||
PirepState::ACCEPTED => 'system.pireps.state.accepted',
|
||||
PirepState::CANCELLED => 'system.pireps.state.cancelled',
|
||||
PirepState::DELETED => 'system.pireps.state.deleted',
|
||||
PirepState::REJECTED => 'system.pireps.state.rejected',
|
||||
PirepState::IN_PROGRESS => 'system.pireps.state.in_progress',
|
||||
PirepState::PENDING => 'system.pireps.state.pending',
|
||||
PirepState::ACCEPTED => 'system.pireps.state.accepted',
|
||||
PirepState::CANCELLED => 'system.pireps.state.cancelled',
|
||||
PirepState::DELETED => 'system.pireps.state.deleted',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user