Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 7be21e2

Browse files
slavvkagelanivishal
authored andcommitted
ENGCOM-3408: #18956 Fixes for set root_category_id #18958
- fixed docblocks
1 parent fee2712 commit 7be21e2

File tree

1 file changed

+6
-9
lines changed
  • app/code/Magento/Store/Model/Config/Importer/Processor

1 file changed

+6
-9
lines changed

app/code/Magento/Store/Model/Config/Importer/Processor/Create.php

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
/**
1818
* The processor for creating of new entities.
19-
*
20-
* {@inheritdoc}
2119
*/
2220
class Create implements ProcessorInterface
2321
{
@@ -84,7 +82,9 @@ public function __construct(
8482
/**
8583
* Creates entities in application according to the data set.
8684
*
87-
* {@inheritdoc}
85+
* @param array $data The data to be processed
86+
* @return void
87+
* @throws RuntimeException If processor was unable to finish execution
8888
*/
8989
public function run(array $data)
9090
{
@@ -229,8 +229,7 @@ private function createStores(array $items, array $data)
229229
}
230230

231231
/**
232-
* Searches through given websites and compares with current websites.
233-
* Returns found website.
232+
* Searches through given websites and compares with current websites and returns found website.
234233
*
235234
* @param array $data The data to be searched in
236235
* @param string $websiteId The website id
@@ -252,8 +251,7 @@ private function detectWebsiteById(array $data, $websiteId)
252251
}
253252

254253
/**
255-
* Searches through given groups and compares with current websites.
256-
* Returns found group.
254+
* Searches through given groups and compares with current websites and returns found group.
257255
*
258256
* @param array $data The data to be searched in
259257
* @param string $groupId The group id
@@ -275,8 +273,7 @@ private function detectGroupById(array $data, $groupId)
275273
}
276274

277275
/**
278-
* Searches through given stores and compares with current stores.
279-
* Returns found store.
276+
* Searches through given stores and compares with current stores and returns found store.
280277
*
281278
* @param array $data The data to be searched in
282279
* @param string $storeId The store id

0 commit comments

Comments
 (0)