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

docs: Mark Helper::convert_wp_object as API method #3005

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

Levdbas
Copy link
Member

@Levdbas Levdbas commented May 20, 2024

Related:

Issue

Timber\Helper::convert_wp_object is not listed as an API function

Solution

Mark as API function and rebuild docs.

Impact

More functions documentated

Usage Changes

No

Considerations

When taking a look at the Helper methods, they are sparsely documented. We could improve on that.

When trying to commit, Rector was being a pain in the butt since it wanted to remove the mixed parameters from methods, including our API functions.

@nlemoine , could we remove that conversion like so? I can make a separate PR for that. This would make the life of of other contributors a lot easier.

image

Testing

already tested

@Levdbas Levdbas linked an issue May 20, 2024 that may be closed by this pull request
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.

[BUG] Missing Doc for convert_wp_object method
1 participant