Bartosz Dziewoński has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/191187

Change subject: PHP: Remove redundant documentation for getInputElement()
......................................................................

PHP: Remove redundant documentation for getInputElement()

Inherited from InputWidget.

Change-Id: Ie7e6acf2ae8dba58eaec80a1ea45e442933302cc
---
M php/widgets/ButtonInputWidget.php
M php/widgets/TextInputWidget.php
2 files changed, 0 insertions(+), 12 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/87/191187/1

diff --git a/php/widgets/ButtonInputWidget.php 
b/php/widgets/ButtonInputWidget.php
index 9f319c6..f9c7891 100644
--- a/php/widgets/ButtonInputWidget.php
+++ b/php/widgets/ButtonInputWidget.php
@@ -60,12 +60,6 @@
                $this->addClasses( array( 'oo-ui-buttonInputWidget' ) );
        }
 
-       /**
-        * Get input element.
-        *
-        * @param array $config Configuration options
-        * @return Tag Input element
-        */
        protected function getInputElement( $config ) {
                $input = new Tag( $config['useInputTag'] ? 'input' : 'button' );
                $input->setAttributes( array( 'type' => $config['type'] ) );
diff --git a/php/widgets/TextInputWidget.php b/php/widgets/TextInputWidget.php
index 5c3ee7c..f07113a 100644
--- a/php/widgets/TextInputWidget.php
+++ b/php/widgets/TextInputWidget.php
@@ -89,12 +89,6 @@
                return $this;
        }
 
-       /**
-        * Get input element.
-        *
-        * @param array $config Configuration options
-        * @return Tag Input element
-        */
        protected function getInputElement( $config ) {
                if ( isset( $config['multiline'] ) && $config['multiline'] ) {
                        return new Tag( 'textarea' );

-- 
To view, visit https://gerrit.wikimedia.org/r/191187
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie7e6acf2ae8dba58eaec80a1ea45e442933302cc
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to