File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ class UriUtils
21
21
{
22
22
public function __construct (private PathResolver $ pathResolver ) {}
23
23
24
- public function replaceScopeCode (string $ url , StoreInterface $ scope ): string
24
+ public function replaceScopeCode (string $ url , StoreInterface $ store ): string
25
25
{
26
- return $ this ->replaceLeadingPath ($ scope ->getCode (), $ this ->pathResolver ->resolve ($ scope ), $ url );
26
+ return $ this ->replaceLeadingPath ($ store ->getCode (), $ this ->pathResolver ->resolve ($ store ), $ url );
27
27
}
28
28
29
- public function replacePathCode (string $ url , StoreInterface $ scope ): string
29
+ public function replacePathCode (string $ url , StoreInterface $ store ): string
30
30
{
31
- return $ this ->replaceLeadingPath ($ this ->pathResolver ->resolve ($ scope ), $ scope ->getCode (), $ url );
31
+ return $ this ->replaceLeadingPath ($ this ->pathResolver ->resolve ($ store ), $ store ->getCode (), $ url );
32
32
}
33
33
34
34
private function replaceLeadingPath (string $ search , string $ replace , string $ uri ): string
You can’t perform that action at this time.
0 commit comments