@@ -455,8 +455,7 @@ public function getFlatState()
455
455
}
456
456
457
457
/**
458
- * Retrieve is flat enabled flag
459
- * Return always false if magento run admin
458
+ * Retrieve is flat enabled. Return always false if magento run admin.
460
459
*
461
460
* @return bool
462
461
*/
@@ -487,8 +486,7 @@ protected function _construct()
487
486
}
488
487
489
488
/**
490
- * Standard resource collection initialization
491
- * Needed for child classes
489
+ * Standard resource collection initialization. Needed for child classes.
492
490
*
493
491
* @param string $model
494
492
* @param string $entityModel
@@ -527,8 +525,7 @@ protected function _prepareStaticFields()
527
525
}
528
526
529
527
/**
530
- * Retrieve collection empty item
531
- * Redeclared for specifying id field name without getting resource model inside model
528
+ * Get collection empty item. Redeclared for specifying id field name without getting resource model inside model.
532
529
*
533
530
* @return \Magento\Framework\DataObject
534
531
*/
@@ -614,8 +611,7 @@ public function _loadAttributes($printQuery = false, $logQuery = false)
614
611
}
615
612
616
613
/**
617
- * Add attribute to entities in collection
618
- * If $attribute=='*' select all attributes
614
+ * Add attribute to entities in collection. If $attribute=='*' select all attributes.
619
615
*
620
616
* @param array|string|integer|\Magento\Framework\App\Config\Element $attribute
621
617
* @param bool|string $joinType
@@ -651,8 +647,7 @@ public function addAttributeToSelect($attribute, $joinType = false)
651
647
}
652
648
653
649
/**
654
- * Processing collection items after loading
655
- * Adding url rewrites, minimal prices, final prices, tax percents
650
+ * Processing collection items after loading. Adding url rewrites, minimal prices, final prices, tax percents.
656
651
*
657
652
* @return $this
658
653
*/
@@ -755,8 +750,7 @@ public function addIdFilter($productId, $exclude = false)
755
750
}
756
751
757
752
/**
758
- * Adding product website names to result collection
759
- * Add for each product websites information
753
+ * Adding product website names to result collection. Add for each product websites information.
760
754
*
761
755
* @return $this
762
756
*/
@@ -767,7 +761,7 @@ public function addWebsiteNamesToResult()
767
761
}
768
762
769
763
/**
770
- * { @inheritdoc}
764
+ * @inheritdoc
771
765
*/
772
766
public function load ($ printQuery = false , $ logQuery = false )
773
767
{
@@ -824,8 +818,7 @@ protected function doAddWebsiteNamesToResult()
824
818
}
825
819
826
820
/**
827
- * Add store availability filter. Include availability product
828
- * for store website
821
+ * Add store availability filter. Include availability product for store website.
829
822
*
830
823
* @param null|string|bool|int|Store $store
831
824
* @return $this
@@ -1113,7 +1106,7 @@ public function getSelectCountSql()
1113
1106
/**
1114
1107
* Get SQL for get record count
1115
1108
*
1116
- * @param null $select
1109
+ * @param \Magento\Framework\DB\Select $select
1117
1110
* @param bool $resetLeftJoins
1118
1111
* @return \Magento\Framework\DB\Select
1119
1112
*/
@@ -1355,8 +1348,7 @@ public function joinUrlRewrite()
1355
1348
}
1356
1349
1357
1350
/**
1358
- * Add URL rewrites data to product
1359
- * If collection loadded - run processing else set flag
1351
+ * Add URL rewrites data to product. If collection loadded - run processing else set flag.
1360
1352
*
1361
1353
* @param int|string $categoryId
1362
1354
* @return $this
@@ -1579,7 +1571,8 @@ public function addAttributeToFilter($attribute, $condition = null, $joinType =
1579
1571
}
1580
1572
1581
1573
/**
1582
- * {@inheritdoc}
1574
+ * @inheritdoc
1575
+ *
1583
1576
* @since 101.0.0
1584
1577
*/
1585
1578
protected function getEntityPkName (\Magento \Eav \Model \Entity \AbstractEntity $ entity )
@@ -2317,7 +2310,10 @@ private function getGalleryReadHandler()
2317
2310
}
2318
2311
2319
2312
/**
2313
+ * Retrieve Media gallery resource.
2314
+ *
2320
2315
* @deprecated 101.0.1
2316
+ *
2321
2317
* @return \Magento\Catalog\Model\ResourceModel\Product\Gallery
2322
2318
*/
2323
2319
private function getMediaGalleryResource ()
0 commit comments