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

Add more psalm assertions #143

Merged
merged 3 commits into from
Nov 6, 2019
Merged

Conversation

BackEndTea
Copy link
Collaborator

This adds psalm annotations to the array-key and isList assertions

BackEndTea and others added 3 commits November 4, 2019 10:48
This allows psalm to understand the method validates the input
as correct array keys
This allows psalm to understand the output is a list.
This does mean we bump the minimum version of psalm we are compatible
with to 3.6. Otherwise it could interpet this as thinking the
isList makes the value is the `list` class.
@BackEndTea BackEndTea merged commit 841d44a into master Nov 6, 2019
@BackEndTea BackEndTea deleted the feature/more-psalm-assertions branch November 6, 2019 08:31
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.

1 participant