17
17
18
18
/**
19
19
* The processor for creating of new entities.
20
- *
21
- * {@inheritdoc}
22
20
*/
23
21
class Create implements ProcessorInterface
24
22
{
@@ -85,7 +83,9 @@ public function __construct(
85
83
/**
86
84
* Creates entities in application according to the data set.
87
85
*
88
- * {@inheritdoc}
86
+ * @param array $data The data to be processed
87
+ * @return void
88
+ * @throws RuntimeException If processor was unable to finish execution
89
89
*/
90
90
public function run (array $ data )
91
91
{
@@ -230,8 +230,7 @@ private function createStores(array $items, array $data)
230
230
}
231
231
232
232
/**
233
- * Searches through given websites and compares with current websites.
234
- * Returns found website.
233
+ * Searches through given websites and compares with current websites and returns found website.
235
234
*
236
235
* @param array $data The data to be searched in
237
236
* @param string $websiteId The website id
@@ -253,8 +252,7 @@ private function detectWebsiteById(array $data, $websiteId)
253
252
}
254
253
255
254
/**
256
- * Searches through given groups and compares with current websites.
257
- * Returns found group.
255
+ * Searches through given groups and compares with current websites and returns found group.
258
256
*
259
257
* @param array $data The data to be searched in
260
258
* @param string $groupId The group id
@@ -276,8 +274,7 @@ private function detectGroupById(array $data, $groupId)
276
274
}
277
275
278
276
/**
279
- * Searches through given stores and compares with current stores.
280
- * Returns found store.
277
+ * Searches through given stores and compares with current stores and returns found store.
281
278
*
282
279
* @param array $data The data to be searched in
283
280
* @param string $storeId The store id
0 commit comments