Commit 551cffcd authored by Taylor Otwell's avatar Taylor Otwell

Refactor the configuration class for more simplicity.

parent 81a89604
...@@ -62,14 +62,7 @@ class Config { ...@@ -62,14 +62,7 @@ class Config {
static::load($module, $file); static::load($module, $file);
if (is_null($key)) Arr::set(static::$items[$module][$file], $key, $value);
{
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