Skip to content

Commit

Permalink
Don't return anything
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanjfshaw authored Aug 28, 2018
1 parent 81bfa4d commit 52a4c8b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/Drupal/Driver/Cores/Drupal8.php
Original file line number Diff line number Diff line change
Expand Up @@ -615,20 +615,17 @@ protected function stopCollectingMailSystemMail() {
/**
* Store the original value for a piece of configuration.
*
* If an original value has previously been stored, it is not updated.
*
* @param string $name
* The name of the configuration.
* @param mixed $value
* The original value of the configuration.
*
* @return bool
* Whether or not $value is now stored as the original configuration value.
*/
protected function storeOriginalConfiguration($name, $value) {
if (!isset($this->originalConfiguration[$name])) {
$this->originalConfiguration[$name] = $value;
return TRUE;
}
return ($this->originalConfiguration[$name] === $value);
}

}

0 comments on commit 52a4c8b

Please sign in to comment.