-
-
Notifications
You must be signed in to change notification settings - Fork 641
Closed
Labels
Description
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();
}