From 091936eb2e485b380f1a264762394222a12e8695 Mon Sep 17 00:00:00 2001 From: Florian Date: Fri, 17 Apr 2015 18:56:32 +0200 Subject: [PATCH] HTMLForm: Break long lines Change-Id: Ia09a28ccc361d1a54069bd23a412831fe9c20f34 --- includes/htmlform/HTMLForm.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index 7f988d037b..cb4bba29b8 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -291,7 +291,10 @@ class HTMLForm extends ContextSource { } // Evil hack for mobile :( - if ( !$this->getConfig()->get( 'HTMLFormAllowTableFormat' ) && $this->displayFormat === 'table' ) { + if ( + !$this->getConfig()->get( 'HTMLFormAllowTableFormat' ) + && $this->displayFormat === 'table' + ) { $this->displayFormat = 'div'; } @@ -430,7 +433,9 @@ class HTMLForm extends ContextSource { * @throws MWException * @return HTMLFormField Instance of a subclass of HTMLFormField */ - public static function loadInputFromParameters( $fieldname, $descriptor, HTMLForm $parent = null ) { + public static function loadInputFromParameters( $fieldname, $descriptor, + HTMLForm $parent = null + ) { $class = static::getClassFromDescriptor( $fieldname, $descriptor ); $descriptor['fieldname'] = $fieldname; -- 2.20.1