Completed
Push — master ( 0975d4...e23347 )
by Song
02:20
created
src/Form/Layout/Layout.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     /**
90 90
      * Remove reserved fields from form layout.
91 91
      *
92
-     * @param array $fields
92
+     * @param string[] $fields
93 93
      */
94 94
     public function removeReservedFields(array $fields)
95 95
     {
Please login to merge, or discard this patch.
src/Form/Builder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
      */
335 335
     public function field($name)
336 336
     {
337
-        return $this->fields()->first(function (Field $field) use ($name) {
337
+        return $this->fields()->first(function(Field $field) use ($name) {
338 338
             return $field->column() == $name;
339 339
         });
340 340
     }
@@ -533,7 +533,7 @@  discard block
 block discarded – undo
533 533
 
534 534
         $this->form->getLayout()->removeReservedFields($reservedColumns);
535 535
 
536
-        $this->fields = $this->fields()->reject(function (Field $field) use ($reservedColumns) {
536
+        $this->fields = $this->fields()->reject(function(Field $field) use ($reservedColumns) {
537 537
             return in_array($field->column(), $reservedColumns);
538 538
         });
539 539
     }
Please login to merge, or discard this patch.
src/Form/Layout/Column.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function removeFields($fields)
50 50
     {
51
-        $this->fields = $this->fields->reject(function (Field $field) use ($fields) {
51
+        $this->fields = $this->fields->reject(function(Field $field) use ($fields) {
52 52
             return in_array($field->column(), $fields);
53 53
         });
54 54
     }
Please login to merge, or discard this patch.