Be explicit about this being a string
This commit is contained in:
parent
693c65995d
commit
ba7a5d5126
@ -177,7 +177,7 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac
|
|||||||
protected static function booted(): void
|
protected static function booted(): void
|
||||||
{
|
{
|
||||||
static::creating(function (self $user) {
|
static::creating(function (self $user) {
|
||||||
$user->uuid = Str::uuid();
|
$user->uuid = Str::uuid()->toString();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user