Skip to content

Commit 88dd1c8

Browse files
committed
ENGCOM-3671: Static test fix.
1 parent 498c345 commit 88dd1c8

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

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

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
namespace Magento\Store\Model;
88

9+
use Magento\Framework\App\Config;
910
use Magento\Framework\App\ObjectManager;
1011
use Magento\Framework\Exception\NoSuchEntityException;
1112
use Magento\Store\Model\ResourceModel\Website\CollectionFactory;
12-
use Magento\Framework\App\Config;
1313

1414
/**
1515
* Information Expert in store websites handling
@@ -64,7 +64,7 @@ public function __construct(
6464
}
6565

6666
/**
67-
* {@inheritdoc}
67+
* @inheritdoc
6868
*/
6969
public function get($code)
7070
{
@@ -79,7 +79,12 @@ public function get($code)
7979

8080
if ($website->getId() === null) {
8181
throw new NoSuchEntityException(
82-
__(sprintf("The website with code %s that was requested wasn't found. Verify the website and try again.", $code))
82+
__(
83+
sprintf(
84+
"The website with code %s that was requested wasn't found. Verify the website and try again.",
85+
$code
86+
)
87+
)
8388
);
8489
}
8590
$this->entities[$code] = $website;
@@ -88,7 +93,7 @@ public function get($code)
8893
}
8994

9095
/**
91-
* {@inheritdoc}
96+
* @inheritdoc
9297
*/
9398
public function getById($id)
9499
{
@@ -103,7 +108,12 @@ public function getById($id)
103108

104109
if ($website->getId() === null) {
105110
throw new NoSuchEntityException(
106-
__(sprintf("The website with id %s that was requested wasn't found. Verify the website and try again.", $id))
111+
__(
112+
sprintf(
113+
"The website with id %s that was requested wasn't found. Verify the website and try again.",
114+
$id
115+
)
116+
)
107117
);
108118
}
109119
$this->entities[$website->getCode()] = $website;
@@ -112,7 +122,7 @@ public function getById($id)
112122
}
113123

114124
/**
115-
* {@inheritdoc}
125+
* @inheritdoc
116126
*/
117127
public function getList()
118128
{
@@ -131,7 +141,7 @@ public function getList()
131141
}
132142

133143
/**
134-
* {@inheritdoc}
144+
* @inheritdoc
135145
*/
136146
public function getDefault()
137147
{
@@ -154,7 +164,7 @@ public function getDefault()
154164
}
155165

156166
/**
157-
* {@inheritdoc}
167+
* @inheritdoc
158168
*/
159169
public function clean()
160170
{
@@ -180,6 +190,7 @@ private function getAppConfig()
180190

181191
/**
182192
* Initialize default website.
193+
*
183194
* @return void
184195
*/
185196
private function initDefaultWebsite()

0 commit comments

Comments
 (0)