1616
1717/**
1818 * The processor for creating of new entities.
19- *
20- * {@inheritdoc}
2119 */
2220class 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