Skip to content

Commit f5bbe6e

Browse files
committed
Update variable scope to store
1 parent 463b97a commit f5bbe6e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Service/UriUtils.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ class UriUtils
2121
{
2222
public function __construct(private PathResolver $pathResolver) {}
2323

24-
public function replaceScopeCode(string $url, StoreInterface $scope): string
24+
public function replaceScopeCode(string $url, StoreInterface $store): string
2525
{
26-
return $this->replaceLeadingPath($scope->getCode(), $this->pathResolver->resolve($scope), $url);
26+
return $this->replaceLeadingPath($store->getCode(), $this->pathResolver->resolve($store), $url);
2727
}
2828

29-
public function replacePathCode(string $url, StoreInterface $scope): string
29+
public function replacePathCode(string $url, StoreInterface $store): string
3030
{
31-
return $this->replaceLeadingPath($this->pathResolver->resolve($scope), $scope->getCode(), $url);
31+
return $this->replaceLeadingPath($this->pathResolver->resolve($store), $store->getCode(), $url);
3232
}
3333

3434
private function replaceLeadingPath(string $search, string $replace, string $uri): string

0 commit comments

Comments
 (0)