-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Support for null returns #2339
Copy link
Copy link
Open
Labels
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Metadata
Metadata
Assignees
Labels
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I would be useful for the models to have
nullreturn types where needed as otherwise we need to add phpstan overrides in our code. An example beingGoogle\Service\Calendar\Event->getOrganizer()which says it always returns anEventOrganizerwhen it can also returnnull.Describe the solution you'd like
For the return to be marked as null e.g.