diff --git a/app/code/Magento/Eav/Model/Validator/Attribute/Code.php b/app/code/Magento/Eav/Model/Validator/Attribute/Code.php index c3a29854d227f..af4791cc0d5d1 100644 --- a/app/code/Magento/Eav/Model/Validator/Attribute/Code.php +++ b/app/code/Magento/Eav/Model/Validator/Attribute/Code.php @@ -22,11 +22,11 @@ class Code extends AbstractValidator /** * Validates the correctness of the attribute code * - * @param $attributeCode + * @param string $attributeCode * @return bool * @throws LocalizedException */ - public function isValid($attributeCode) + public function isValid($attributeCode): bool { /** * Check attribute_code for allowed characters