From cbe116bd0558087e02c487d063680f4e25fe8147 Mon Sep 17 00:00:00 2001 From: Vincent Gao Date: Mon, 16 Sep 2024 13:59:15 +1000 Subject: [PATCH] feat: [SD-29] upgrade to d10.3 --- src/AliasManager.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/AliasManager.php b/src/AliasManager.php index 38e04df6..b11506c8 100644 --- a/src/AliasManager.php +++ b/src/AliasManager.php @@ -2,6 +2,7 @@ namespace Drupal\tide_site; +use Drupal\Component\Datetime\TimeInterface; use Drupal\Core\Cache\CacheBackendInterface; use Drupal\Core\Language\LanguageManagerInterface; use Drupal\path_alias\AliasManager as CoreAliasManager; @@ -25,8 +26,8 @@ class AliasManager extends CoreAliasManager { /** * {@inheritdoc} */ - public function __construct(AliasRepositoryInterface $repository, AliasWhitelistInterface $whitelist, LanguageManagerInterface $language_manager, CacheBackendInterface $cache, AliasStorageHelper $alias_helper) { - parent::__construct($repository, $whitelist, $language_manager, $cache); + public function __construct(AliasRepositoryInterface $repository, AliasWhitelistInterface $whitelist, LanguageManagerInterface $language_manager, CacheBackendInterface $cache, protected ?TimeInterface $time = NULL, AliasStorageHelper $alias_helper) { + parent::__construct($repository, $whitelist, $language_manager, $cache, $time); $this->aliasHelper = $alias_helper; }