HTMLForm: Break long lines
authorFlorian <florian.schmidt.welzow@t-online.de>
Fri, 17 Apr 2015 16:56:32 +0000 (18:56 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Fri, 5 Jun 2015 01:12:35 +0000 (03:12 +0200)
Change-Id: Ia09a28ccc361d1a54069bd23a412831fe9c20f34

includes/htmlform/HTMLForm.php

index 7f988d0..cb4bba2 100644 (file)
@@ -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;