Skip to content

Commit

Permalink
fix(phpstan): code improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Mte90 committed May 9, 2023
1 parent d26c8c3 commit e57fe74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin-name/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ parameters:
# {{/if}}
- vendor/inpsyde/wp-context/src/WpContext.php
ignoreErrors:
- '#^Parameter #1 $var of function strval expects bool|float|int|resource|string|null, mixed given.$#'
- '/^Parameter #1 $value of function strval expects bool|float|int|resource|string|null, mixed given.$/'
# Not used in the boilerplate.
# # Uses func_get_args()
# - '#^Function apply_filters invoked with [34567] parameters, 2 required\.$#'
Expand Down

0 comments on commit e57fe74

Please sign in to comment.