Fix boot magic name in trait
This commit is contained in:
@@ -20,7 +20,7 @@ trait HashIdTrait
|
||||
/**
|
||||
* Register callbacks
|
||||
*/
|
||||
protected static function bootHashId()
|
||||
protected static function bootHashIdTrait()
|
||||
{
|
||||
static::creating(function ($model) {
|
||||
if (empty($model->id)) {
|
||||
|
||||
Reference in New Issue
Block a user