Be explicit about this being a string

This commit is contained in:
Lance Pioch 2024-04-21 14:17:32 -04:00
parent 693c65995d
commit ba7a5d5126

View File

@ -177,7 +177,7 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac
protected static function booted(): void
{
static::creating(function (self $user) {
$user->uuid = Str::uuid();
$user->uuid = Str::uuid()->toString();
return true;
});