16
16
17
17
/**
18
18
* The processor for creating of new entities.
19
- *
20
- * {@inheritdoc}
21
19
*/
22
20
class Create implements ProcessorInterface
23
21
{
@@ -84,7 +82,9 @@ public function __construct(
84
82
/**
85
83
* Creates entities in application according to the data set.
86
84
*
87
- * {@inheritdoc}
85
+ * @param array $data The data to be processed
86
+ * @return void
87
+ * @throws RuntimeException If processor was unable to finish execution
88
88
*/
89
89
public function run (array $ data )
90
90
{
@@ -229,8 +229,7 @@ private function createStores(array $items, array $data)
229
229
}
230
230
231
231
/**
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.
234
233
*
235
234
* @param array $data The data to be searched in
236
235
* @param string $websiteId The website id
@@ -252,8 +251,7 @@ private function detectWebsiteById(array $data, $websiteId)
252
251
}
253
252
254
253
/**
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.
257
255
*
258
256
* @param array $data The data to be searched in
259
257
* @param string $groupId The group id
@@ -275,8 +273,7 @@ private function detectGroupById(array $data, $groupId)
275
273
}
276
274
277
275
/**
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.
280
277
*
281
278
* @param array $data The data to be searched in
282
279
* @param string $storeId The store id
0 commit comments