Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
kkmuffme committed Mar 12, 2024
1 parent 3b0d5c6 commit d45dc75
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -985,7 +985,9 @@ public static function checkArgumentsMatch(
),
$statements_analyzer->getSuppressedIssues(),
);
} elseif ($has_unpacked_non_keyed_array && $args_provided_max > $function_param_count && !$is_variadic && $has_packed_var) {
} elseif ($has_unpacked_non_keyed_array
&& $args_provided_max > $function_param_count
&& !$is_variadic && $has_packed_var) {
// only report it if we don't have TooFewArguments too, as this is less severe of an issue
// as it would often together otherwise
IssueBuffer::maybeAdd(
Expand Down

0 comments on commit d45dc75

Please sign in to comment.