Fixed typos
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
75da626c85
commit
34bde52f74
1 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||||
use Illuminate\Support\Facades\Gate;
|
use Illuminate\Support\Facades\Gate;
|
||||||
use Illuminate\Support\Facades\Storage;
|
use Illuminate\Support\Facades\Storage;
|
||||||
use Watson\Validating\ValidatingTrait;
|
use Watson\Validating\ValidatingTrait;
|
||||||
|
use \App\Presenters\AssetModelPresenter;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Model for Asset Models. Asset Models contain higher level
|
* Model for Asset Models. Asset Models contain higher level
|
||||||
|
@ -20,7 +21,7 @@ class AssetModel extends SnipeModel
|
||||||
{
|
{
|
||||||
use HasFactory;
|
use HasFactory;
|
||||||
use SoftDeletes;
|
use SoftDeletes;
|
||||||
protected $presenter = \App\Presenters\AssetModelPresenter::class;
|
protected $presenter = AssetModelPresenter::class;
|
||||||
use Loggable, Requestable, Presentable;
|
use Loggable, Requestable, Presentable;
|
||||||
|
|
||||||
protected $table = 'models';
|
protected $table = 'models';
|
||||||
|
@ -37,7 +38,7 @@ class AssetModel extends SnipeModel
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether the model should inject it's identifier to the unique
|
* Whether the model should inject its identifier to the unique
|
||||||
* validation rules before attempting validation. If this property
|
* validation rules before attempting validation. If this property
|
||||||
* is not set in the model it will default to true.
|
* is not set in the model it will default to true.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue