Verified Commit 64cc6471 authored by Dave Long's avatar Dave Long
Browse files

Issue #3485410 by niklan, andypost:...

Issue #3485410 by niklan, andypost: \Drupal\Core\KeyValueStore\DatabaseStorage::doSetIfNotExists should be protected
parent 2396ee2b
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -167,7 +167,7 @@ public function set($key, $value) {
   * @return bool
   *   TRUE if the data was set, FALSE if it already existed.
   */
  public function doSetIfNotExists($key, $value) {
  protected function doSetIfNotExists($key, $value) {
    $result = $this->connection->merge($this->table)
      ->insertFields([
        'collection' => $this->collection,