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

[9.x] Fix missing variable in closure #694

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

driesvints
Copy link
Member

This PR fixes a missing variable import for the Meilisearch client in its service provider.

Fixes #693

@driesvints
Copy link
Member Author

/cc @mmachatschek

Copy link
Contributor

@mmachatschek mmachatschek left a comment

Choose a reason for hiding this comment

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

🙌 thanks @driesvints I assumed that loading the service provider was already covered by the tests

Note to myself, always check twice

@driesvints driesvints merged commit 1f5913e into 9.x Jan 9, 2023
@driesvints driesvints deleted the fix-meilisearch-service-provider branch January 9, 2023 09:17
@siddiquiazam
Copy link

@mmachatschek I checked the code many times assuming that I was understanding it wrong.
The new test will help a lot.

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.

Undefined variable inside closure (ScoutServiceProvider.php:46)
3 participants