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

Added stub for WeakMap #613

Merged
merged 2 commits into from
Aug 12, 2021
Merged

Added stub for WeakMap #613

merged 2 commits into from
Aug 12, 2021

Conversation

dktapps
Copy link
Contributor

@dktapps dktapps commented Aug 2, 2021

No description provided.

@dktapps
Copy link
Contributor Author

dktapps commented Aug 11, 2021

Build failure doesn't appear to be related to the PR.

* @implements \ArrayAccess<TKey, TValue>
* @implements \IteratorAggregate<TKey, TValue>
*/
final class WeakMap implements \ArrayAccess, \Countable, \IteratorAggregate
Copy link
Member

Choose a reason for hiding this comment

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

The class should also be added here:

skipCheckGenericClasses:
- RecursiveIterator
- RecursiveArrayIterator

Copy link
Contributor Author

@dktapps dktapps Aug 11, 2021

Choose a reason for hiding this comment

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

Why is that? I'm not understanding the requirement here. never mind, it's late in the day

@ondrejmirtes ondrejmirtes merged commit dae76e5 into phpstan:master Aug 12, 2021
@ondrejmirtes
Copy link
Member

Thank you.

@dktapps dktapps deleted the weakmap-generic branch August 12, 2021 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants