File tree Expand file tree Collapse file tree 3 files changed +5
-11
lines changed
Catalog/Model/Product/Attribute/Backend/GroupPrice Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,6 @@ abstract class AbstractGroupPrice extends Price implements ResetAfterRequestInte
40
40
abstract protected function _getDuplicateErrorMessage ();
41
41
42
42
/**
43
- * Catalog product type
44
- *
45
43
* @var \Magento\Catalog\Model\Product\Type
46
44
*/
47
45
protected $ _catalogProductType ;
Original file line number Diff line number Diff line change @@ -990,8 +990,8 @@ public function _resetState(): void
990
990
{
991
991
$ this ->attributesPerSet = [];
992
992
$ this ->_attributeData = [];
993
- foreach ($ this ->attributes as $ attributesGroupedByEntityTypeCode ) {
994
- foreach ($ attributesGroupedByEntityTypeCode as $ attribute ) {
993
+ foreach ($ this ->attributes as $ attributesGroupedByEntityTypeCode ) {
994
+ foreach ($ attributesGroupedByEntityTypeCode as $ attribute ) {
995
995
if ($ attribute instanceof ResetAfterRequestInterface) {
996
996
$ attribute ->_resetState ();
997
997
}
Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ abstract class AbstractAttribute extends \Magento\Framework\Model\AbstractExtens
27
27
\Magento \Eav \Api \Data \AttributeInterface,
28
28
ResetAfterRequestInterface
29
29
{
30
- const TYPE_STATIC = 'static ' ;
30
+ public const TYPE_STATIC = 'static ' ;
31
31
32
32
/**
33
33
* Const for empty string value.
34
34
*/
35
- const EMPTY_STRING = '' ;
35
+ public const EMPTY_STRING = '' ;
36
36
37
37
/**
38
38
* Attribute name
@@ -70,8 +70,6 @@ abstract class AbstractAttribute extends \Magento\Framework\Model\AbstractExtens
70
70
protected $ _source ;
71
71
72
72
/**
73
- * Attribute id cache
74
- *
75
73
* @var array
76
74
*/
77
75
protected $ _attributeIdCache = [];
@@ -231,8 +229,6 @@ public function _resetState() : void
231
229
/**
232
230
* Get Serializer instance.
233
231
*
234
- * @deprecated 101.0.0
235
- *
236
232
* @return Json
237
233
* @since 101.0.0
238
234
*/
@@ -241,7 +237,6 @@ protected function getSerializer()
241
237
if ($ this ->serializer === null ) {
242
238
$ this ->serializer = \Magento \Framework \App \ObjectManager::getInstance ()->create (Json::class);
243
239
}
244
-
245
240
return $ this ->serializer ;
246
241
}
247
242
@@ -942,6 +937,7 @@ public function _getFlatColumnsDdlDefinition()
942
937
* Used in database compatible mode
943
938
*
944
939
* @deprecated 101.0.0
940
+ * @see MMDB
945
941
* @return array
946
942
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
947
943
*/
You can’t perform that action at this time.
0 commit comments