Skip to content
Snippets Groups Projects

Update ImportMapsManager.php

Merged AKHIL BABU requested to merge issue/importmaps-3501109:3501109-php-error-on into 1.x
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -27,7 +27,7 @@ final class ImportMapsManager extends DefaultPluginManager implements PluginMana
* @param \Drupal\Core\Extension\ModuleExtensionList $moduleExtensionList
* Module extension list.
*/
public function __construct(ModuleHandlerInterface $module_handler, CacheBackendInterface $cache_backend, protected ModuleExtensionList $moduleExtensionList) {
public function __construct(ModuleHandlerInterface $module_handler, CacheBackendInterface $cache_backend, protected ?ModuleExtensionList $moduleExtensionList) {
$this->alterInfo('importmaps');
$this->moduleHandler = $module_handler;
$this->setCacheBackend($cache_backend, 'importmaps', ['importmaps']);
Loading