converted config class to use arr::set.
This commit is contained in:
parent
a667e32ad3
commit
6750c799f0
|
@ -68,7 +68,7 @@ public static function set($key, $value)
|
||||||
throw new \Exception("Error setting configuration option. Option [$key] is not defined.");
|
throw new \Exception("Error setting configuration option. Option [$key] is not defined.");
|
||||||
}
|
}
|
||||||
|
|
||||||
(is_null($key)) ? static::$items[$module][$file] = $value : static::$items[$module][$file][$key] = $value;
|
(is_null($key)) ? static::$items[$module][$file] = $value : Arr::set(static::$items[$module][$file], $key, $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue