Skip to content

Fix incorrect and unused imports in User entity documentation #2173

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

Open
wants to merge 1 commit into
base: 4.1
Choose a base branch
from

Conversation

kdefarge
Copy link

This pull request fixes two small issues in the User authentication example:

  • Removed unused imports: ApiFilter and ApiProperty in the User entity
  • Added missing use App\Entity\User; in the UserPasswordHasher processor

These corrections ensure that the example code works as expected when copied directly, and help improve the overall clarity and accuracy of the documentation for developers following it step by step.

…se statement

- Removed unused `ApiFilter` and `ApiProperty` imports from the User entity example
- Added missing `use App\Entity\User;` in the UserPasswordHasher processor

These small corrections improve clarity and prevent potential confusion or errors when copying the example as-is. The goal is to make the official documentation more accurate and beginner-friendly.
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.

1 participant