Completed
Push — master ( a31b88...59e60c )
by Song
02:41
created
src/Form/Builder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
         $this->tools = new Tools($this);
125 125
         $this->footer = new Footer($this);
126 126
 
127
-        $this->formClass = 'model-form-' . uniqid();
127
+        $this->formClass = 'model-form-'.uniqid();
128 128
     }
129 129
 
130 130
     /**
@@ -343,7 +343,7 @@  discard block
 block discarded – undo
343 343
      */
344 344
     public function field($name)
345 345
     {
346
-        return $this->fields()->first(function (Field $field) use ($name) {
346
+        return $this->fields()->first(function(Field $field) use ($name) {
347 347
             return $field->column() === $name;
348 348
         });
349 349
     }
@@ -573,7 +573,7 @@  discard block
 block discarded – undo
573 573
 
574 574
         $this->form->getLayout()->removeReservedFields($reservedColumns);
575 575
 
576
-        $this->fields = $this->fields()->reject(function (Field $field) use ($reservedColumns) {
576
+        $this->fields = $this->fields()->reject(function(Field $field) use ($reservedColumns) {
577 577
             return in_array($field->column(), $reservedColumns, true);
578 578
         });
579 579
     }
Please login to merge, or discard this patch.