Completed
Pull Request — master (#3423)
by
unknown
02:56
created
src/Form/Field.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1212,7 +1212,7 @@
 block discarded – undo
1212 1212
     public function setGroupClass($class)
1213 1213
     : self
1214 1214
     {
1215
-        if(is_array($class))
1215
+        if (is_array($class))
1216 1216
             $this->groupClass = array_merge($this->groupClass, $class);
1217 1217
         else
1218 1218
             array_push($this->groupClass, $class);
Please login to merge, or discard this patch.
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1212,10 +1212,11 @@
 block discarded – undo
1212 1212
     public function setGroupClass($class)
1213 1213
     : self
1214 1214
     {
1215
-        if(is_array($class))
1216
-            $this->groupClass = array_merge($this->groupClass, $class);
1217
-        else
1218
-            array_push($this->groupClass, $class);
1215
+        if(is_array($class)) {
1216
+                    $this->groupClass = array_merge($this->groupClass, $class);
1217
+        } else {
1218
+                    array_push($this->groupClass, $class);
1219
+        }
1219 1220
 
1220 1221
         return $this;
1221 1222
     }
Please login to merge, or discard this patch.