diff --git a/php/EE/DocParser.php b/php/EE/DocParser.php index 6910b45a8..7fcfd3ba9 100644 --- a/php/EE/DocParser.php +++ b/php/EE/DocParser.php @@ -72,7 +72,7 @@ public function get_longdesc() { $lines[] = $line; } - $longdesc = trim( implode( $lines, "\n" ) ); + $longdesc = trim( implode( "\n", $lines ) ); return $longdesc; } diff --git a/php/commands/help.php b/php/commands/help.php index 2fef01e25..ea72d9b2f 100644 --- a/php/commands/help.php +++ b/php/commands/help.php @@ -104,7 +104,7 @@ private static function indent( $whitespace, $text ) { foreach ( $lines as &$line ) { $line = $whitespace . $line; } - return implode( $lines, "\n" ); + return implode( "\n", $lines ); } private static function pass_through_pager( $out ) { diff --git a/utils/make-phar.php b/utils/make-phar.php index e65c5e6ca..e802118a6 100644 --- a/utils/make-phar.php +++ b/utils/make-phar.php @@ -323,6 +323,7 @@ function get_composer_versions( $current_version ) { $phar->setStub( <<