Skip to content

Conversation

@koshuang
Copy link

Summary

When running php artisan ide-helper:models --write command, it sometimes will add duplicate phpdoc comment for the same property.

I added a check before adding a new tag for ModelsCommand. It will not create a new tag if it's a duplicate tag.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

@barryvdh
Copy link
Owner

ARen't we already checking if the property has a tag (the in_array check above)

@koshuang
Copy link
Author

Ah, it happens on v2.13.4. But it's fixed on v2.15.1. I will close this PR. Thanks!

@koshuang koshuang closed this Feb 18, 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