From 43a43676f1486d2dda9809076d2ff0d0dc15c2a0 Mon Sep 17 00:00:00 2001
From: Vladimir Pelipenko <vpelipenko@ebay.com>
Date: Thu, 2 Apr 2015 19:27:39 +0300
Subject: [PATCH] MAGETWO-29012: [GITHUB] Textarea element cols and rows #675

---
 .../Framework/Data/Form/Element/Textarea.php  | 21 +++++--------------
 1 file changed, 5 insertions(+), 16 deletions(-)

diff --git a/lib/internal/Magento/Framework/Data/Form/Element/Textarea.php b/lib/internal/Magento/Framework/Data/Form/Element/Textarea.php
index ebc4eebec32..26826e2515f 100644
--- a/lib/internal/Magento/Framework/Data/Form/Element/Textarea.php
+++ b/lib/internal/Magento/Framework/Data/Form/Element/Textarea.php
@@ -13,25 +13,15 @@ namespace Magento\Framework\Data\Form\Element;
 
 use Magento\Framework\Escaper;
 
-/**
- * @method Textarea setExtType($extType)
- * @method mixed getCols()
- * @method Textarea setCols($cols)
- * @method mixed getRows()
- * @method Textarea setRows($rows)
- */
 class Textarea extends AbstractElement
 {
     /**
-     * default number of rows
-     *
-     * @var int
+     * Default number of rows
      */
     const DEFAULT_ROWS = 2;
+
     /**
-     * default number of cols
-     *
-     * @var int
+     * Default number of columns
      */
     const DEFAULT_COLS = 15;
 
@@ -89,9 +79,8 @@ class Textarea extends AbstractElement
     public function getElementHtml()
     {
         $this->addClass('textarea');
-        $html = '<textarea id="' . $this->getHtmlId() . '" name="' . $this->getName() . '" ' . $this->serialize(
-                $this->getHtmlAttributes()
-            ) . $this->_getUiId() . ' >';
+        $html = '<textarea id="' . $this->getHtmlId() . '" name="' . $this->getName() . '" '
+            . $this->serialize($this->getHtmlAttributes()) . $this->_getUiId() . ' >';
         $html .= $this->getEscapedValue();
         $html .= "</textarea>";
         $html .= $this->getAfterElementHtml();
-- 
GitLab