Skip to content

Conversation

jesse-bos
Copy link

@jesse-bos jesse-bos commented Jun 8, 2025

The request()->string('email') method returns an Illuminate\Support\Stringable object, which causes a TypeError Cannot assign Illuminate\Support\Stringable to property App\Livewire\Auth\ResetPassword::$email of type string when using declare(strict_types=1), which most of us (presumably) use.

Added ->value() to convert the Stringable object to a plain string value.

@taylorotwell taylorotwell merged commit 8813241 into laravel:components Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants