1717
1818/**
1919 * The processor for creating of new entities.
20- *
21- * {@inheritdoc}
2220 */
2321class Create implements ProcessorInterface
2422{
@@ -85,7 +83,9 @@ public function __construct(
8583 /**
8684 * Creates entities in application according to the data set.
8785 *
88- * {@inheritdoc}
86+ * @param array $data The data to be processed
87+ * @return void
88+ * @throws RuntimeException If processor was unable to finish execution
8989 */
9090 public function run (array $ data )
9191 {
@@ -230,8 +230,7 @@ private function createStores(array $items, array $data)
230230 }
231231
232232 /**
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.
235234 *
236235 * @param array $data The data to be searched in
237236 * @param string $websiteId The website id
@@ -253,8 +252,7 @@ private function detectWebsiteById(array $data, $websiteId)
253252 }
254253
255254 /**
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.
258256 *
259257 * @param array $data The data to be searched in
260258 * @param string $groupId The group id
@@ -276,8 +274,7 @@ private function detectGroupById(array $data, $groupId)
276274 }
277275
278276 /**
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.
281278 *
282279 * @param array $data The data to be searched in
283280 * @param string $storeId The store id
0 commit comments