diff --git a/src/Common/GeneratorField.php b/src/Common/GeneratorField.php
index <HASH>..<HASH> 100644
--- a/src/Common/GeneratorField.php
+++ b/src/Common/GeneratorField.php
@@ -105,9 +105,7 @@ class GeneratorField
             } else {
                 $this->migrationText .= '->'.$functionName;
                 $this->migrationText .= '(';
-                foreach ($inputParams as $param) {
-                    $this->migrationText .= ', '.$param;
-                }
+                $this->migrationText .= implode(', ', $inputParams);
                 $this->migrationText .= ')';
             }
         }
#<I> minor fix for params in function