Skip to content

Commit 2025035

Browse files
author
Tommy Quissens
committed
code cleanup
1 parent 1313861 commit 2025035

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/code/Magento/Customer/Model/Checkout/ConfigProvider.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
use Magento\Checkout\Model\ConfigProviderInterface;
99
use Magento\Customer\Model\Url;
10+
use Magento\Framework\App\ObjectManager;
1011
use Magento\Framework\UrlInterface;
1112
use Magento\Store\Model\StoreManagerInterface;
1213
use Magento\Framework\App\Config\ScopeConfigInterface;
@@ -51,8 +52,8 @@ public function __construct(
5152
$this->urlBuilder = $urlBuilder;
5253
$this->storeManager = $storeManager;
5354
$this->scopeConfig = $scopeConfig;
54-
$this->customerUrl = $customerUrl ?? \Magento\Framework\App\ObjectManager::getInstance()
55-
->get(\Magento\Customer\Model\Url::class);
55+
$this->customerUrl = $customerUrl ?? ObjectManager::getInstance()
56+
->get(Url::class);
5657
}
5758

5859
/**

0 commit comments

Comments
 (0)