laravel-magiclink
laravel-magiclink copied to clipboard
setMagiclinkId(): Argument #1 ($magiclinkId) must be of type string, LazyUuidFromString given
setMagiclinkId() on ActionAbstract requires a string, but Str::uuid() in Laravel 9+ will return a LazyUuidFromString, which isn't being cast.
Casting it to a string in the creating() observe resolves this issue.