File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,11 @@ public function afterGetBaseUrl(
3535 };
3636 $ cacheKey = $ scope ->getId () . '/ ' . $ type . '/ ' . $ isSecure ;
3737
38- return $ this ->cache [$ cacheKey ] ??= $ this ->processBaseUrl ($ scope , $ baseUrl , $ type, $ secure );
38+ return $ this ->cache [$ cacheKey ] ??= $ this ->processBaseUrl ($ scope , $ baseUrl , $ type );
3939 }
4040
41- private function processBaseUrl (
42- ScopeInterface $ scope ,
43- string $ baseUrl ,
44- string $ type = UrlInterface::URL_TYPE_LINK ,
45- ?bool $ secure = null
46- ) {
41+ private function processBaseUrl (ScopeInterface $ scope , string $ baseUrl , string $ type ): string
42+ {
4743 return $ type === UrlInterface::URL_TYPE_LINK && $ scope instanceof StoreInterface && $ this ->config ->isEnabled ()
4844 ? $ this ->uriUtils ->replaceScopeCode ($ baseUrl , $ scope )
4945 : $ baseUrl ;
You can’t perform that action at this time.
0 commit comments