There is a method with an unknown number of arguments in advance, the first and second arguments are required and must have certain values. I want to document this, but I don’t know how:
/** * @param string $name * @param string $type * @param string $param_1-$param_x */ public function some_method() { $args = func_get_args(); } Or am I fundamentally wrong, allowing for this method of passing arguments and need to pass a variable number of arguments with an array: some_method($name, $type, array $param) ?