Skip to content

Commit d14374d

Browse files
committed
KeyGenerateCommand cleanup
1 parent 5ca79e7 commit d14374d

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/Foundation/Console/KeyGenerateCommand.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php namespace Winter\Storm\Foundation\Console;
22

3-
use Illuminate\Filesystem\Filesystem;
43
use Illuminate\Foundation\Console\KeyGenerateCommand as KeyGenerateCommandBase;
54
use Winter\Storm\Parse\EnvFile;
65

@@ -14,8 +13,6 @@ class KeyGenerateCommand extends KeyGenerateCommandBase
1413
*/
1514
protected function writeNewEnvironmentFileWith($key)
1615
{
17-
$currentKey = $this->laravel['config']['app.key'];
18-
1916
$env = EnvFile::open($this->laravel->environmentFilePath());
2017
$env->set('APP_KEY', $key);
2118
$env->write();

0 commit comments

Comments
 (0)