Completed
Push — 5.x ( 9e9821...6eaf70 )
by Lars
07:34
created
lib/swiftmailer_generate_mimes_config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
             $extension = strtolower(trim($node->glob['ddpattern'][0], '*.'));
155 155
 
156 156
             // skip none glob extensions
157
-            if (strpos($extension, '.') !== false ) {
157
+            if (strpos($extension, '.') !== false) {
158 158
                 continue;
159 159
             }
160 160
 
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
     ksort($valid_mime_types);
182 182
 
183 183
     // combine mime types and extensions array
184
-    $output = "$preamble\$swift_mime_types = array(\n    " . implode($valid_mime_types, ",\n    ") . "\n);";
184
+    $output = "$preamble\$swift_mime_types = array(\n    ".implode($valid_mime_types, ",\n    ")."\n);";
185 185
 
186 186
     // write mime_types.php config file
187 187
     /** @noinspection PhpUsageOfSilenceOperatorInspection */
Please login to merge, or discard this patch.