Skip to content

Commit 3e9ba6e

Browse files
committed
Static test fix.
1 parent 3bc62e6 commit 3e9ba6e

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

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

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

7979
if ($website->getId() === null) {
8080
throw new NoSuchEntityException(
81-
__(sprintf("The website with code %s that was requested wasn't found. Verify the website and try again.", $code))
81+
__(
82+
sprintf(
83+
"The website with code %s that was requested wasn't found. Verify the website and try again.",
84+
$code
85+
)
86+
)
8287
);
8388
}
8489
$this->entities[$code] = $website;
@@ -102,7 +107,12 @@ public function getById($id)
102107

103108
if ($website->getId() === null) {
104109
throw new NoSuchEntityException(
105-
__(sprintf("The website with id %s that was requested wasn't found. Verify the website and try again.", $id))
110+
__(
111+
sprintf(
112+
"The website with id %s that was requested wasn't found. Verify the website and try again.",
113+
$id
114+
)
115+
)
106116
);
107117
}
108118
$this->entities[$website->getCode()] = $website;

0 commit comments

Comments
 (0)