Skip to content

Add native types to DTO properties, getters and event interfaces#7707

Open
guillaume-sainthillier wants to merge 1 commit into
EasyCorp:5.xfrom
guillaume-sainthillier:add-native-types-to-dtos
Open

Add native types to DTO properties, getters and event interfaces#7707
guillaume-sainthillier wants to merge 1 commit into
EasyCorp:5.xfrom
guillaume-sainthillier:add-native-types-to-dtos

Conversation

@guillaume-sainthillier

Copy link
Copy Markdown
Contributor

Adds native property types (with null defaults preserving the previous
implicit null of untyped properties), union return types on getters that
only had phpdoc types, and explicit nullable parameter types (PHP 8.4
deprecates implicitly-nullable parameters). Doctrine-hydrated collection
properties stay out of this commit; DTO collaborators keep their exact
runtime behavior.

Adds native property types (with null defaults preserving the previous
implicit null of untyped properties), union return types on getters that
only had phpdoc types, and explicit nullable parameter types (PHP 8.4
deprecates implicitly-nullable parameters). Doctrine-hydrated collection
properties stay out of this commit; DTO collaborators keep their exact
runtime behavior.
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