Completed
Pull Request — master (#5319)
by
unknown
02:42
created
src/Form/Field/Table.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
                 if (isset($data['pivot'])) {
57 57
                     $data = array_merge($data, $data['pivot']);
58 58
                 }
59
-                if (is_array($data)){
59
+                if (is_array($data)) {
60 60
                     $forms[$key] = $this->buildNestedForm($this->column, $this->builder, $key)->fill($data);
61 61
                 }
62 62
             }
@@ -71,9 +71,9 @@  discard block
 block discarded – undo
71 71
 
72 72
         $prepare = $form->prepare($input);
73 73
 
74
-        return collect($prepare)->reject(function ($item) {
74
+        return collect($prepare)->reject(function($item) {
75 75
             return $item[NestedForm::REMOVE_FLAG_NAME] == 1;
76
-        })->map(function ($item) {
76
+        })->map(function($item) {
77 77
             unset($item[NestedForm::REMOVE_FLAG_NAME]);
78 78
 
79 79
             return $item;
Please login to merge, or discard this patch.