Skip to content

Commit e95d5d2

Browse files
Update app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Validate.php
Co-authored-by: Lena Orobei <[email protected]>
1 parent 86f0c6b commit e95d5d2

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Validate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
class Validate extends AttributeAction implements HttpGetActionInterface, HttpPostActionInterface
2424
{
2525
const DEFAULT_MESSAGE_KEY = 'message';
26-
const RESERVED_CODES = ['product_type', 'type_id'];
26+
private const RESERVED_ATTRIBUTE_CODES = ['product_type', 'type_id'];
2727

2828
/**
2929
* @var \Magento\Framework\Controller\Result\JsonFactory

0 commit comments

Comments
 (0)