From 87e59fd2c51d297f0581ae30e8e28c5623e29361 Mon Sep 17 00:00:00 2001 From: vincent-gao Date: Mon, 16 Sep 2024 14:01:33 +1000 Subject: [PATCH] feat: [SD-29] upgrade to d10.3 (#161) --- 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; }