diff options
-rw-r--r-- | core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php index 44d5d9df13fb..4f3ae72090ba 100644 --- a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php +++ b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php @@ -167,7 +167,7 @@ class DatabaseStorage extends StorageBase { * @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, |