mirror of
https://github.com/flarum/core.git
synced 2025-07-24 02:01:19 +02:00
PSR-2 fixes
This commit is contained in:
@@ -112,8 +112,7 @@ class GenerateExtensionCommand extends Command
|
||||
if ($file != '.' && $file != '..') {
|
||||
if (is_dir($src.'/'.$file)) {
|
||||
$this->recursiveCopy($src.'/'.$file, $dst.'/'.$file, $replacements);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$contents = file_get_contents($src.'/'.$file);
|
||||
$contents = str_replace(array_keys($replacements), array_values($replacements), $contents);
|
||||
|
||||
|
Reference in New Issue
Block a user