Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
PHP7.4 deprecates first implode parameter being pieces, second glue
Browse files Browse the repository at this point in the history
  • Loading branch information
wimg committed Nov 11, 2019
1 parent a53dab2 commit 702a9d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/swiftmailer_generate_mimes_config.php 100755 → 100644
Expand Up @@ -173,7 +173,7 @@ function generateUpToDateMimeArray()
ksort($valid_mime_types);

// combine mime types and extensions array
$output = "$preamble\$swift_mime_types = array(\n ".implode($valid_mime_types, ",\n ")."\n);";
$output = "$preamble\$swift_mime_types = array(\n ".implode(",\n ", $valid_mime_types)."\n);";

// write mime_types.php config file
@file_put_contents('./mime_types.php', $output);
Expand Down

0 comments on commit 702a9d7

Please sign in to comment.