Skip to content
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

Introduce typed properties #16

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Introduce typed properties #16

merged 1 commit into from
Oct 24, 2023

Conversation

sanmai
Copy link
Owner

@sanmai sanmai commented Oct 24, 2023

No description provided.

@sanmai sanmai merged commit e24c430 into main Oct 24, 2023
8 checks passed
@sanmai sanmai deleted the pr/types branch October 24, 2023 00:25
*/
final class Deferred implements Interfaces\Deferred
class Deferred implements Interfaces\Deferred
{
/**
* @var ?iterable<T>
Copy link
Contributor

Choose a reason for hiding this comment

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

Please write iterable<T>|null

Copy link
Owner Author

Choose a reason for hiding this comment

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

How can we argue this will not contradict the other two instances below that use ?type notation?

Copy link
Contributor

Choose a reason for hiding this comment

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

All right.
You've won 🏆

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.

None yet

2 participants