Verified Commit a89b4e66 authored by Jess's avatar Jess
Browse files

Issue #3550070 by mstrelan: DatabaseStorage::decode() docs are incorrect

(cherry picked from commit 7a962985)
parent 33e2940a
Loading
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -265,11 +265,7 @@ public function encode($data) {
  }

  /**
   * Implements Drupal\Core\Config\StorageInterface::decode().
   *
   * @throws \ErrorException
   *   The unserialize() call will trigger E_NOTICE if the string cannot
   *   be unserialized.
   * {@inheritdoc}
   */
  public function decode($raw) {
    $data = @unserialize($raw, ['allowed_classes' => FALSE]);