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

Adds assertion to check all keys exist in an array #282

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

junaidbinfarooq
Copy link

  • Adds the assertion to assert if all the provided keys exist in the given array

+ Adds the assertion to assert if all the provided keys exist in the given array
/**
* @psalm-pure
*
* @param array<int, int|string> $keys
Copy link
Contributor

@zerkms zerkms Jan 3, 2023

Choose a reason for hiding this comment

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

array<int, int|string> -> list<int|string>?

or

array<int, int|string> -> array<int|string>?

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