diff --git a/core/modules/filter/src/FilterProcessResult.php b/core/modules/filter/src/FilterProcessResult.php index c07b9a3..deb427e 100644 --- a/core/modules/filter/src/FilterProcessResult.php +++ b/core/modules/filter/src/FilterProcessResult.php @@ -7,6 +7,8 @@ namespace Drupal\filter; +use Drupal\Component\Utility\NestedArray; + /** * Used to return values from a text filter plugin's processing method. * @@ -153,7 +155,7 @@ public function getCacheTags() { * @return $this */ public function addCacheTags(array $cache_tags) { - $this->cacheTags = NestedArray::mergeDeepArray($this->cacheTags, $cache_tags); + $this->cacheTags = NestedArray::mergeDeep($this->cacheTags, $cache_tags); return $this; } @@ -188,7 +190,7 @@ public function getAssets() { * @return $this */ public function addAssets(array $assets) { - $this->assets = NestedArray::mergeDeepArray($this->assets, $assets); + $this->assets = NestedArray::mergeDeep($this->assets, $assets); return $this; }