Apply fixes from StyleCI

This commit is contained in:
James Brooks
2020-02-27 09:44:35 +00:00
committed by StyleCI Bot
parent 4435526b0e
commit 5ff2289eeb
22 changed files with 89 additions and 88 deletions

View File

@@ -24,12 +24,12 @@ use McCool\LaravelAutoPresenter\HasPresenter;
class Component extends Model implements HasPresenter
{
use HasTags,
HasMeta,
SearchableTrait,
SoftDeletes,
SortableTrait,
ValidatingTrait;
use HasTags;
use HasMeta;
use SearchableTrait;
use SoftDeletes;
use SortableTrait;
use ValidatingTrait;
/**
* List of attributes that have default values.

View File

@@ -27,8 +27,9 @@ use McCool\LaravelAutoPresenter\HasPresenter;
*/
class ComponentGroup extends Model implements HasPresenter
{
use SearchableTrait, SortableTrait, ValidatingTrait;
use SearchableTrait;
use SortableTrait;
use ValidatingTrait;
/**
* Viewable only authenticated users.
*

View File

@@ -31,12 +31,12 @@ use McCool\LaravelAutoPresenter\HasPresenter;
*/
class Incident extends Model implements HasPresenter
{
use HasMeta,
HasTags,
SearchableTrait,
SoftDeletes,
SortableTrait,
ValidatingTrait;
use HasMeta;
use HasTags;
use SearchableTrait;
use SoftDeletes;
use SortableTrait;
use ValidatingTrait;
/**
* Status for incident being investigated.

View File

@@ -24,8 +24,8 @@ use McCool\LaravelAutoPresenter\HasPresenter;
*/
class IncidentUpdate extends Model implements HasPresenter
{
use SortableTrait, ValidatingTrait;
use SortableTrait;
use ValidatingTrait;
/**
* The attributes that should be casted to native types.
*

View File

@@ -23,9 +23,9 @@ use McCool\LaravelAutoPresenter\HasPresenter;
class Metric extends Model implements HasPresenter
{
use HasMeta,
SortableTrait,
ValidatingTrait;
use HasMeta;
use SortableTrait;
use ValidatingTrait;
/**
* The calculation type of sum.

View File

@@ -24,11 +24,11 @@ use McCool\LaravelAutoPresenter\HasPresenter;
class Schedule extends Model implements HasPresenter
{
use HasMeta,
SearchableTrait,
SoftDeletes,
SortableTrait,
ValidatingTrait;
use HasMeta;
use SearchableTrait;
use SoftDeletes;
use SortableTrait;
use ValidatingTrait;
/**
* The upcoming status.

View File

@@ -29,9 +29,9 @@ use McCool\LaravelAutoPresenter\HasPresenter;
*/
class Subscriber extends Model implements HasPresenter
{
use HasMeta,
Notifiable,
ValidatingTrait;
use HasMeta;
use Notifiable;
use ValidatingTrait;
/**
* The attributes that should be casted to native types.

View File

@@ -26,8 +26,8 @@ use Illuminate\Support\Str;
*/
class User extends Authenticatable
{
use Notifiable, ValidatingTrait;
use Notifiable;
use ValidatingTrait;
/**
* The admin level of user.
*