Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move blademd registration to boot method of service provider #254

Merged
merged 2 commits into from
Jun 25, 2021

Conversation

bjhijmans
Copy link
Contributor

Fixes #253

Registering blademd in the register method of the service provider causes problems because it uses other service providers that may not have been registered yet. This moves that code to the boot method instead.

https://laravel.com/docs/8.x/providers#the-register-method
https://laravel.com/docs/8.x/providers#the-boot-method

@shalvah shalvah merged commit 75186be into knuckleswtf:master Jun 25, 2021
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.

Service provider register method uses other service providers that may not be loaded.
2 participants