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

Finish template types for the WP_REST_Request methods #186

Merged
merged 5 commits into from
Jul 14, 2024

Conversation

lipemat
Copy link
Contributor

@lipemat lipemat commented Jul 11, 2024

Template types previously existed for the ArrayAccess modifiers but not much else in the way of direct method calls.

This branch adds additional method types for the general get/set/has methods in the class.

Also added a few unit tests.

@szepeviktor
Copy link
Member

Thank you @lipemat!

@IanDelMar Please add your review. I'll click on Merge right away.

szepeviktor and others added 4 commits July 14, 2024 11:22
Co-authored-by: IanDelMar <42134098+IanDelMar@users.noreply.github.com>
Co-authored-by: IanDelMar <42134098+IanDelMar@users.noreply.github.com>
Co-authored-by: IanDelMar <42134098+IanDelMar@users.noreply.github.com>
Co-authored-by: IanDelMar <42134098+IanDelMar@users.noreply.github.com>
@szepeviktor
Copy link
Member

Thank you Space Officer!

@szepeviktor szepeviktor merged commit d239cdc into php-stubs:master Jul 14, 2024
2 checks passed
@IanDelMar
Copy link
Contributor

@szepeviktor You are too fast! I haven't finished the review yet. 😆

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.

3 participants