We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It is good to typecast at least the value returned from a filer. Example:
$array = (array) apply_filters( 'wpforms_some_filter', $array );
Having phpcs check such a typecasting would help make code robust and stable.
We do not have such a check.
The text was updated successfully, but these errors were encountered:
kagg-design
No branches or pull requests
Expected Behavior
It is good to typecast at least the value returned from a filer. Example:
$array = (array) apply_filters( 'wpforms_some_filter', $array );
Having phpcs check such a typecasting would help make code robust and stable.
Current Behavior
We do not have such a check.
The text was updated successfully, but these errors were encountered: