8000 chore: Improve typing information by frankverhoeven · Pull Request #61 · MyOnlineStore/common-domain · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: Improve typing information #61

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

Merged
merged 1 commit into from
Feb 21, 2023
Merged

Conversation

frankverhoeven
Copy link
Contributor

Main points of attention: ImmutableCollectionInterface;

  • @implements \IteratorAggregate<TKey, T> -> @extends \IteratorAggregate<TKey, T>
  • @implements \ArrayAccess<TKey, T> -> @extends \ArrayAccess<TKey, T>

This change should help to resolve type information when iterating over collections.

Main points of attention: `ImmutableCollectionInterface`;
- `@implements \IteratorAggregate<TKey, T>` -> `@extends \IteratorAggregate<TKey, T>`
- `@implements \ArrayAccess<TKey, T>` -> `@extends \ArrayAccess<TKey, T>`

This change should help to resolve type information when iterating over
collections.
@frankverhoeven frankverhoeven added the enhancement New feature or request label Feb 15, 2023
@frankverhoeven frankverhoeven requested a review from a team February 15, 2023 13:04
@fred-jan fred-jan merged commit d531579 into 2.x-dev Feb 21, 2023
@fred-jan fred-jan deleted the 2.x-typing-enhancements branch February 21, 2023 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0