-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Uid] Add @return non-empty-string
annotations to AbstractUid
and relevant functions
#59075
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
[Uid] Add @return non-empty-string
annotations to AbstractUid
and relevant functions
#59075
Conversation
Hey! I see that this is your first PR. That is great! Welcome! Symfony has a contribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
@return non-empty-string
annotations to AbstractUid and relevant functions
20bd796
to
41dacf7
Compare
@return non-empty-string
annotations to AbstractUid and relevant functions@return non-empty-string
annotations to AbstractUid
and relevant functions
any clue @derrabus ? |
The diff patch file located in The command to generate the diff again should be at the top of the file |
… when patching return types (xabbuh) This PR was merged into the 7.3 branch. Discussion ---------- [ErrorHandler] support non-empty-string/non-empty-list when patching return types | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | no | New feature? | yes | Deprecations? | no | Issues | | License | MIT see the failures in #59075 Commits ------- 01c78b3 support non-empty-string/non-empty-list when patching return types
Thank you @niravpateljoin. |
This Merge Request introduces
@return non-empty-string
annotations to the AbstractUid class and other relevant functions in the Symfony UID component. By explicitly defining the return type as non-empty-string, this change improves type safety and ensures stricter static analysis when working with UIDs.Rationale
Changes Made
@return non-empty-string
for methods where applicable.Backward Compatibility