From 1080254c8b900f0b64dde8be5a70a8fc8986a7eb Mon Sep 17 00:00:00 2001 From: Lauri Eskola <lauri.eskola@acquia.com> Date: Wed, 30 Aug 2023 18:33:55 +0300 Subject: [PATCH] Issue #2514960 by Aki Tendo, catch: \Drupal\Core\Theme\Registry->build() does not always return \Drupal\Core\Utility\ThemeRegistry (cherry picked from commit e0381125e0a95cb428e071c727bc6b4f3247d7a4) --- core/lib/Drupal/Core/Theme/Registry.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/Drupal/Core/Theme/Registry.php b/core/lib/Drupal/Core/Theme/Registry.php index 86f39ffcf020..c788bf36b92f 100644 --- a/core/lib/Drupal/Core/Theme/Registry.php +++ b/core/lib/Drupal/Core/Theme/Registry.php @@ -329,8 +329,8 @@ public function getBaseHook($hook) { * See the @link themeable Default theme implementations topic @endlink for * details. * - * @return \Drupal\Core\Utility\ThemeRegistry - * The build theme registry. + * @return array + * The built theme registry. * * @see hook_theme_registry_alter() */ -- GitLab