You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function o(...$args) {
$args_len = sizeof($args);
...
}
which should be valid, but the code sniffers complains about it
51 | ERROR | [x] Expected 1 space between type hint and argument
| | "$args"; 0 found
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterHint)
Within the same file, there is a similar method that uses the variadic parameter as second parameter