Cleanup models

This commit is contained in:
Graham Campbell
2015-01-01 12:23:17 +00:00
parent a14c28b287
commit a442708062
11 changed files with 79 additions and 84 deletions
+3 -5
View File
@@ -1,8 +1,9 @@
<?php
use Illuminate\Database\Eloquent\Model;
use Watson\Validating\ValidatingTrait;
class IncidentTemplate extends Eloquent
class IncidentTemplate extends Model
{
use ValidatingTrait;
@@ -11,10 +12,7 @@ class IncidentTemplate extends Eloquent
'template' => 'required',
];
protected $fillable = [
'name',
'template',
];
protected $fillable = ['name', 'template'];
/**
* Overrides the models boot method.