diff --git a/core/includes/common.inc b/core/includes/common.inc index a4da21b..f5d1ff9 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -3633,7 +3633,7 @@ function drupal_render_cache_get(array $elements) { * * @see drupal_render_cache_get() */ -function drupal_render_cache_set(&$markup, array $elements) { +function drupal_render_cache_set(&$markup, $elements) { // Create the cache ID for the element. if (!\Drupal::request()->isMethodSafe() || !$cid = drupal_render_cid_create($elements)) { return FALSE; @@ -3729,7 +3729,7 @@ function drupal_render_cache_generate_placeholder($callback, array &$context) { * @see drupal_render() * @see drupal_render_collect_post_render_cache */ -function _drupal_render_process_post_render_cache(array &$elements) { +function _drupal_render_process_post_render_cache(&$elements) { if (isset($elements['#post_render_cache'])) { /** @var \Drupal\Core\Controller\ControllerResolverInterface $controller_resolver */ $controller_resolver = \Drupal::service('controller_resolver');