Skip to content

[12.x] Fix namespace declaration and correct PHPDoc in job class example #10703

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

Merged
merged 2 commits into from
Aug 7, 2025

Conversation

AhmedAlaa4611
Copy link
Contributor

@AhmedAlaa4611 AhmedAlaa4611 commented Aug 7, 2025

Description

This PR enhances the UpdateSearchIndex job example by:

  • Adding the missing namespace.
  • Correcting the @var PHPDoc annotation to reflect the correct model namespace.
  • Remove the unused import.

These changes improve clarity and ensure the example accurately represents standard Laravel application structure.

@taylorotwell taylorotwell merged commit ea538d5 into laravel:12.x Aug 7, 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