Commit 0e2e82ef authored by chx's avatar chx
Browse files

better variable name

parent 73e3afc8
......@@ -282,9 +282,9 @@ function config($name, $class = 'DrupalConfig') {
}
class DrupalConfig {
public function __construct($storage) {
$this->_verifiedStorage = $storage;
foreach (json_decode($this->_verifiedStorage->read()) as $key => $value) {
public function __construct($verifiedStorage) {
$this->_verifiedStorage = $verifiedStorage;
foreach (json_decode($verifiedStorage->read()) as $key => $value) {
$this->$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