Commit 6750c799 authored by Taylor Otwell's avatar Taylor Otwell

converted config class to use arr::set.

parent a667e32a
...@@ -68,7 +68,7 @@ class Config { ...@@ -68,7 +68,7 @@ class Config {
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);
} }
/** /**
......
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