Fix boot magic name in trait

This commit is contained in:
Nabeel Shahzad 2018-03-08 08:56:27 -06:00
parent f13c961863
commit aac355b077
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ use App\Models\Expense;
trait ExpensableTrait
{
public static function bootExpensable()
public static function bootExpensableTrait()
{
}

View File

@ -20,7 +20,7 @@ trait HashIdTrait
/**
* Register callbacks
*/
protected static function bootHashId()
protected static function bootHashIdTrait()
{
static::creating(function ($model) {
if (empty($model->id)) {