Skip to content

Commit

Permalink
[+]添加env转换为php命令
Browse files Browse the repository at this point in the history
  • Loading branch information
raygu0101 committed Sep 6, 2018
1 parent 2535f0f commit 2643048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/EnvConvertCommand.php
Expand Up @@ -40,7 +40,7 @@ public function handle()
$php .= " // ${line}\n";
} elseif ($this->looksLikeSetter($line)) {
list($name, $value) = $this->normaliseEnvironmentVariable($line, null);
$php .= " '${name}'=>'${value}',\n";
$php .= " '${name}' => '${value}',\n";
}
}
$newFilename = base_path(trim($filename, '.') . '.php');
Expand Down

0 comments on commit 2643048

Please sign in to comment.