cleaning up code.

This commit is contained in:
Taylor Otwell
2012-02-06 20:19:29 -06:00
parent fc927aa63a
commit 1351a2b189
4 changed files with 7 additions and 7 deletions

View File

@@ -36,7 +36,9 @@ class Key extends Task {
// specified through the CLI.
$key = Str::random(array_get($arguments, 0, 32));
$config = str_replace("'key' => '',", "'key' => '{$key}',", File::get($this->path), $count);
$config = File::get($this->path);
$config = str_replace("'key' => '',", "'key' => '{$key}',", $config, $count);
File::put($this->path, $config);