Skip to content

Commit

Permalink
GH-498: Fixing indentation issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
upchuk committed Aug 14, 2018
1 parent 0be1832 commit 245fec6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Drupal/DrupalExtension/Context/ConfigContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ public function setConfig($name, $key, $value)
$backup = $this->getDriver()->configGet($name, $key);
$this->getDriver()->configSet($name, $key, $value);
if (!array_key_exists($name, $this->config)) {
$this->config[$name][$key] = $backup;
return;
$this->config[$name][$key] = $backup;
return;
}

if (!array_key_exists($key, $this->config[$name])) {
$this->config[$name][$key] = $backup;
$this->config[$name][$key] = $backup;
}
}
}

0 comments on commit 245fec6

Please sign in to comment.