Completed
Pull Request — master (#3215)
by Hiroyuki
04:26
created
src/Form/Field/HasMany.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         $input = array_only($input, $this->column);
106 106
         
107 107
         foreach ($input[$this->column] as $ikey => $ivalue) {
108
-            if (isset($ivalue[NestedForm::REMOVE_FLAG_NAME]) && $ivalue[NestedForm::REMOVE_FLAG_NAME]==1) {
108
+            if (isset($ivalue[NestedForm::REMOVE_FLAG_NAME]) && $ivalue[NestedForm::REMOVE_FLAG_NAME] == 1) {
109 109
                 unset($input[$this->column][$ikey]);
110 110
             }
111 111
         }
@@ -650,7 +650,7 @@  discard block
 block discarded – undo
650 650
         }
651 651
 
652 652
         /* Build row elements */
653
-        $template = array_reduce($fields, function ($all, $field) {
653
+        $template = array_reduce($fields, function($all, $field) {
654 654
             $all .= "<td>{$field}</td>";
655 655
 
656 656
             return $all;
Please login to merge, or discard this patch.