Skip to content

Commit 33d1d66

Browse files
authored
Fix argument reference name
1 parent 9b623ad commit 33d1d66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Store/Model/WebsiteRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function get($code)
8080

8181
if ($website->getId() === null) {
8282
throw new NoSuchEntityException(
83-
__("The website with code %s that was requested wasn't found. Verify the website and try again.", $code)
83+
__("The website with code %1 that was requested wasn't found. Verify the website and try again.", $code)
8484
);
8585
}
8686
$this->entities[$code] = $website;
@@ -104,7 +104,7 @@ public function getById($id)
104104

105105
if ($website->getId() === null) {
106106
throw new NoSuchEntityException(
107-
__("The website with id %s that was requested wasn't found. Verify the website and try again.", $id)
107+
__("The website with id %1 that was requested wasn't found. Verify the website and try again.", $id)
108108
);
109109
}
110110
$this->entities[$website->getCode()] = $website;

0 commit comments

Comments
 (0)