-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Fix $tags type #18647
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
Fix $tags type #18647
Conversation
👍 I think we need the same fix line 20. |
Exactly! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for that PR!
@@ -17,7 +17,7 @@ Let's start by creating a ``Task`` entity:: | |||
class Task | |||
{ | |||
protected string $description; | |||
protected ArrayCollection $tags; | |||
protected Collection $tags; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ArrayCollection use statement can be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did this while merging. Thanks.
* 5.4: Backport a fix related to Webpack Encore
4bc4f80
to
88655a9
Compare
@devojifr thanks a lot for improving this ... and congrats on your first Symfony Docs contribution 🎉 |
$tags using in the documentation must be a Collection to be persisted.