diff --git a/src/ScaffoldPackageCommand.php b/src/ScaffoldPackageCommand.php
index <HASH>..<HASH> 100644
--- a/src/ScaffoldPackageCommand.php
+++ b/src/ScaffoldPackageCommand.php
@@ -706,7 +706,7 @@ EOT;
 		foreach ( $lines as &$line ) {
 			$line = $whitespace . $line;
 		}
-		return implode( $lines, "\n" );
+		return implode( "\n", $lines );
 	}
 
 	private function prompt_if_files_will_be_overwritten( $filename, $force ) {
Fix Implode signature

The following triggered an error locally...



```

return implode( $lines, "\n" );

```



By switching the operands so that glue comes first and collection second. I believe this might help this to work