diff --git a/core/lib/Drupal/Core/Extension/ThemeInstaller.php b/core/lib/Drupal/Core/Extension/ThemeInstaller.php index 6385fcb962..36b67e25fb 100644 --- a/core/lib/Drupal/Core/Extension/ThemeInstaller.php +++ b/core/lib/Drupal/Core/Extension/ThemeInstaller.php @@ -101,7 +101,7 @@ class ThemeInstaller implements ThemeInstallerInterface { * The state store. * @param \Drupal\Core\Extension\ModuleExtensionList $module_extension_list * The module extension list. - * @param \Drupal\Core\Theme\Registry $themeRegistry + * @param \Drupal\Core\Theme\Registry|null $themeRegistry * The theme registry. */ public function __construct(ThemeHandlerInterface $theme_handler, ConfigFactoryInterface $config_factory, ConfigInstallerInterface $config_installer, ModuleHandlerInterface $module_handler, ConfigManagerInterface $config_manager, AssetCollectionOptimizerInterface $css_collection_optimizer, RouteBuilderInterface $route_builder, LoggerInterface $logger, StateInterface $state, ModuleExtensionList $module_extension_list, protected ?Registry $themeRegistry = NULL) {