File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 28
28
* because it can take pretty much time
29
29
*
30
30
* @see setup/performance-toolkit/profiles/ce/small.xml
31
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
31
32
*/
32
33
class ImagesFixture extends Fixture
33
34
{
@@ -214,6 +215,8 @@ private function checkIfImagesExists()
214
215
215
216
/**
216
217
* Create image file and add it to media gallery table in DB
218
+ *
219
+ * @return void
217
220
*/
218
221
private function createImageEntities ()
219
222
{
@@ -271,6 +274,7 @@ private function generateImageFilesGenerator()
271
274
/**
272
275
* Assign created images to products according to Y images per each product
273
276
*
277
+ * @return void
274
278
* @throws \Exception
275
279
*/
276
280
private function assignImagesToProducts ()
@@ -473,7 +477,7 @@ private function getImagesCount()
473
477
/**
474
478
* Get eav attribute id by its code
475
479
*
476
- * @param $attributeCode
480
+ * @param string $attributeCode
477
481
* @return int
478
482
* @throws \Magento\Framework\Exception\NoSuchEntityException
479
483
*/
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ public function __construct(
62
62
* when storage size becomes equal to $batchSize
63
63
*
64
64
* @param array $dataToInsert
65
+ * @return void
65
66
*/
66
67
public function insert (array $ dataToInsert )
67
68
{
@@ -75,6 +76,8 @@ public function insert(array $dataToInsert)
75
76
76
77
/**
77
78
* Insert all data form $dataStorage to DB and clear $dataStorage
79
+ *
80
+ * @return void
78
81
*/
79
82
public function flush ()
80
83
{
You can’t perform that action at this time.
0 commit comments