Skip to content

Conversation

@oaklees
Copy link
Contributor

@oaklees oaklees commented May 24, 2024

As part of Laravel 8, calling parent::register() is required in any EventServiceProvider class that overrides register to ensure listeners get registered.

See https://laravel.com/docs/8.x/upgrade#the-event-service-provider-class.

Test added and fix applied.

@oaklees oaklees force-pushed the fix-event-listener-registration branch 2 times, most recently from 4d83b4e to 32781f7 Compare May 24, 2024 11:39
@oaklees oaklees force-pushed the fix-event-listener-registration branch from 32781f7 to f697a5f Compare May 24, 2024 11:40
@oaklees oaklees marked this pull request as ready for review May 24, 2024 11:40
Copy link
Contributor

@HasnatH HasnatH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️

@HasnatH HasnatH merged commit fa5a8d7 into main May 24, 2024
@HasnatH HasnatH deleted the fix-event-listener-registration branch May 24, 2024 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants