Skip to content

Fixed incorrect @property type in generated models. - #7782

Merged
limingxinleo merged 4 commits into
hyperf:masterfrom
limingxinleo:3.2-db
Jul 29, 2026
Merged

limingxinleo merged 4 commits into
hyperf:masterfrom
limingxinleo:3.2-db

Conversation

@limingxinleo

Copy link
Copy Markdown
Member

The $id field may be null before persistence, so @Property ?int $id is more accurate than @Property int $id.

@limingxinleo
limingxinleo merged commit 33058f8 into hyperf:master Jul 29, 2026
80 checks passed
@limingxinleo
limingxinleo deleted the 3.2-db branch July 29, 2026 03:05
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