Skip to content

Conversation

@wgriffioen
Copy link
Contributor

When the viaQueue method on a queued event listener returns an enum, it will fail with the error message:

Object of class App\Enums\QueueType could not be converted to string

With this PR the dispatcher will now convert an enum value to a string before dispatching the queued event listener to the queue.

@taylorotwell taylorotwell merged commit e333cc8 into laravel:12.x May 7, 2025
58 checks passed
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