Skip to content

False positive for variable-length argument lists #42

Description

@marcospassos

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions