From dcf83848b91ac97042ccbb94cc2e6d4e424581ed Mon Sep 17 00:00:00 2001
From: Pavel Bystritsky
Date: Fri, 12 Apr 2019 13:49:27 +0300
Subject: [PATCH] magento/magento2#22210: Static tests fix.
---
.../Product/Edit/Tab/Attributes/Extend.php | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Extend.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Extend.php
index 4654144ce6873..a768e2450bfe8 100644
--- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Extend.php
+++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Extend.php
@@ -4,13 +4,13 @@
* See COPYING.txt for license details.
*/
+namespace Magento\Bundle\Block\Adminhtml\Catalog\Product\Edit\Tab\Attributes;
+
/**
- * Bundle Extended Attribures Block
+ * Bundle Extended Attribures Block.
*
- * @author Magento Core Team
+ * @author Magento Core Team
*/
-namespace Magento\Bundle\Block\Adminhtml\Catalog\Product\Edit\Tab\Attributes;
-
class Extend extends \Magento\Catalog\Block\Adminhtml\Form\Renderer\Fieldset\Element
{
/**
@@ -85,6 +85,8 @@ public function getParentElementHtml()
}
/**
+ * Get options.
+ *
* @return array
*/
public function getOptions()
@@ -106,6 +108,8 @@ public function getOptions()
}
/**
+ * Is disabled field.
+ *
* @return bool
*/
public function isDisabledField()
@@ -118,6 +122,8 @@ public function isDisabledField()
}
/**
+ * Get product.
+ *
* @return mixed
*/
public function getProduct()
@@ -129,6 +135,8 @@ public function getProduct()
}
/**
+ * Get extended element.
+ *
* @param string $switchAttributeCode
* @return \Magento\Framework\Data\Form\Element\Select
* @throws \Magento\Framework\Exception\LocalizedException