From: Florian Date: Fri, 17 Apr 2015 16:56:32 +0000 (+0200) Subject: HTMLForm: Break long lines X-Git-Tag: 1.31.0-rc.0~11169^2 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=091936eb2e485b380f1a264762394222a12e8695;p=lhc%2Fweb%2Fwiklou.git HTMLForm: Break long lines Change-Id: Ia09a28ccc361d1a54069bd23a412831fe9c20f34 --- 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;