Skip to content

changed interface method getId return type#24

Merged
pinclau merged 2 commits intodotkernel:2.0from
pinclau:2.0
Oct 11, 2023
Merged

changed interface method getId return type#24
pinclau merged 2 commits intodotkernel:2.0from
pinclau:2.0

Conversation

@pinclau
Copy link
Copy Markdown
Member

@pinclau pinclau commented Oct 11, 2023

No description provided.

@pinclau pinclau requested a review from alexmerlin October 11, 2023 11:41
Copy link
Copy Markdown
Member

@alexmerlin alexmerlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we replace with mixed because getId could also return null?
If so, then please also fix the phpcs error reported here (remove the comment with the return type)

@pinclau
Copy link
Copy Markdown
Member Author

pinclau commented Oct 11, 2023

@alexmerlin yes, in some cases can be null, especially when is used with do-user package

@pinclau pinclau merged commit 895e8d7 into dotkernel:2.0 Oct 11, 2023
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.

3 participants