File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
app/code/Magento/Customer/Model/Checkout Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,24 +23,24 @@ class ConfigProvider implements ConfigProviderInterface
23
23
/**
24
24
* @var UrlInterface
25
25
*/
26
- protected $ urlBuilder ;
26
+ protected $ customerUrl ;
27
27
28
28
/**
29
29
* @var ScopeConfigInterface
30
30
*/
31
31
protected $ scopeConfig ;
32
32
33
33
/**
34
- * @param UrlInterface $urlBuilder
34
+ * @param Url $customerUrl
35
35
* @param StoreManagerInterface $storeManager
36
36
* @param ScopeConfigInterface $scopeConfig
37
37
*/
38
38
public function __construct (
39
- UrlInterface $ urlBuilder ,
39
+ Url $ customerUrl ,
40
40
StoreManagerInterface $ storeManager ,
41
41
ScopeConfigInterface $ scopeConfig
42
42
) {
43
- $ this ->urlBuilder = $ urlBuilder ;
43
+ $ this ->customerUrl = $ customerUrl ;
44
44
$ this ->storeManager = $ storeManager ;
45
45
$ this ->scopeConfig = $ scopeConfig ;
46
46
}
@@ -78,7 +78,7 @@ protected function isAutocompleteEnabled()
78
78
*/
79
79
protected function getLoginUrl ()
80
80
{
81
- return $ this ->urlBuilder -> getUrl (Url:: ROUTE_ACCOUNT_LOGIN );
81
+ return $ this ->customerUrl -> getLoginUrl ( );
82
82
}
83
83
84
84
/**
You can’t perform that action at this time.
0 commit comments