Skip to content

False positive for variable-length argument lists #42

New issue

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

Open
marcospassos opened this issue Nov 18, 2018 · 0 comments
Open

False positive for variable-length argument lists #42

marcospassos opened this issue Nov 18, 2018 · 0 comments

Comments

@marcospassos
Copy link

The rule does not consider the type of variable-length argument lists:

class Foo {
	public function foo(Bar ...$bars){
	}
}
In method "Foo::foo", parameter $bars type is "array". Please provide a @param annotation to further specify the type of the array. For instance: @param int
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant