Skip to content

Commit

Permalink
Fixed some errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Xety committed Nov 10, 2016
1 parent 56158a5 commit b80b0b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Configure/Configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public static function consume($var)
return $value;
}
$value = Hash::get(static::$values, $var);
static::$_values = Hash::remove(static::$values, $var);
static::$values = Hash::remove(static::$values, $var);

return $value;
}
Expand Down Expand Up @@ -190,7 +190,7 @@ public static function load($key, $merge = true)

$values = $return;
if ($merge) {
$values = Hash::merge(static::$_values, $values);
$values = Hash::merge(static::$values, $values);
}

return static::write($values);
Expand Down Expand Up @@ -238,7 +238,7 @@ public static function dump($key, $keys = [])
}
$contents = '<?php' . "\n" . 'return ' . var_export($values, true) . ';';

$filename = static::_getFilePath($key);
$filename = static::getFilePath($key);

return (bool)file_put_contents($filename, $contents);
}
Expand Down

0 comments on commit b80b0b0

Please sign in to comment.