diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index ff20879e..e46ed408 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -95,6 +95,11 @@ parameters: count: 1 path: inc/widgets.php + - + message: "#^Function understrap_add_block_widget_search_classes\\(\\) has parameter \\$block with no value type specified in iterable type array\\.$#" + count: 1 + path: inc/widgets.php + - message: "#^Function understrap_add_widget_categories_class\\(\\) has parameter \\$cat_args with no value type specified in iterable type array\\.$#" count: 1 @@ -105,11 +110,6 @@ parameters: count: 1 path: inc/widgets.php - - - message: "#^Function understrap_add_block_widget_search_classes\\(\\) has parameter \\$block with no value type specified in iterable type array\\.$#" - count: 1 - path: inc/widgets.php - - message: "#^Function understrap_widget_classes\\(\\) has parameter \\$params with no value type specified in iterable type array\\.$#" count: 1