Skip to content

Commit a0d79d3

Browse files
Lewiscowles1986schlessera
authored andcommitted
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
1 parent 071310f commit a0d79d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ScaffoldPackageCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ private static function indent( $whitespace, $text ) {
706706
foreach ( $lines as &$line ) {
707707
$line = $whitespace . $line;
708708
}
709-
return implode( $lines, "\n" );
709+
return implode( "\n", $lines );
710710
}
711711

712712
private function prompt_if_files_will_be_overwritten( $filename, $force ) {

0 commit comments

Comments
 (0)