Skip to content

Commit

Permalink
Renamed the method
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed Feb 2, 2012
1 parent 8e13095 commit a7b48c0
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -139,7 +139,7 @@ public function resolve()
foreach ($this->parameters as $key => $value) {
try {
$value = $this->resolveValue($value);
$parameters[$key] = $this->unescapeString($value);
$parameters[$key] = $this->unescapeValue($value);
} catch (ParameterNotFoundException $e) {
$e->setSourceKey($key);

Expand Down Expand Up @@ -236,7 +236,7 @@ public function isResolved()
return $this->resolved;
}

private function unescapeString($value)
private function unescapeValue($value)
{
if (is_string($value)) {
return str_replace('%%', '%', $value);
Expand All @@ -245,7 +245,7 @@ private function unescapeString($value)
if (is_array($value)) {
$result = array();
foreach ($value as $k => $v) {
$result[$k] = $this->unescapeString($v);
$result[$k] = $this->unescapeValue($v);
}

return $result;
Expand Down

0 comments on commit a7b48c0

Please sign in to comment.