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

[4.x] Fix docblock of FluentTag param method #9601

Merged
merged 1 commit into from Feb 27, 2024

Conversation

ajnsn
Copy link
Contributor

@ajnsn ajnsn commented Feb 27, 2024

According to the documentation we can use e.g. a filter-param with FluentTag's like this:

Statamic::tag('collection:pages')->param('title:contains', 'pizza');

At least my IDE complains about the current docblock awaiting an array type.
This "fixes" this by changing the docblock to mixed.

@ajnsn ajnsn changed the title Fix docblock for FluentTag param method [4.x] Fix docblock for FluentTag param method Feb 27, 2024
@ajnsn ajnsn changed the title [4.x] Fix docblock for FluentTag param method [4.x] Fix docblock of FluentTag param method Feb 27, 2024
@jasonvarga jasonvarga merged commit a0cbe4b into statamic:4.x Feb 27, 2024
20 of 21 checks passed
@ajnsn ajnsn deleted the fix-param-docblock branch February 27, 2024 19:28
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