Skip to content

Argument $variable is missing from the Docblock of method #1476

@wesdean

Description

@wesdean

I am getting an argument missing error for the first argument of every method with arguments. Here is a copy of my doc block and method.

/**
* Sets configuration flags.
*
* @param String $flag The name of the flag to set.
* @param Boolean $value The value of the flag.
* @param Boolean $auto_run Whether to execute Config::run() after setting the flag.
*/
public static function setFlag($flag, $value, $auto_run = false) {
$value = !!$value;

    if ($auto_run && $value == self::varDefault(self::$flags[$flag])) $auto_run = false;

    self::$flags[$flag] = !!$value;
    if ($auto_run) self::run();
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions