Commit de38744d authored by Taylor Otwell's avatar Taylor Otwell

Continuing to refactor the configuration class.

parent d9b7b7dc
...@@ -62,7 +62,14 @@ class Config { ...@@ -62,7 +62,14 @@ class Config {
static::load($module, $file); static::load($module, $file);
(is_null($key)) ? static::$items[$module][$file] = $value : Arr::set(static::$items[$module][$file], $key, $value); if (is_null($key))
{
static::$items[$module][$file] = $value;
}
else
{
Arr::set(static::$items[$module][$file], $key, $value);
}
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment