diff --git a/src/Illuminate/Foundation/Console/KeyGenerateCommand.php b/src/Illuminate/Foundation/Console/KeyGenerateCommand.php index afe2b649e7e..90ebb680c8b 100644 --- a/src/Illuminate/Foundation/Console/KeyGenerateCommand.php +++ b/src/Illuminate/Foundation/Console/KeyGenerateCommand.php @@ -96,7 +96,7 @@ protected function generateRandomKey(): string * @param string $key * @return bool */ - protected function setKeyInEnvironmentFile(string $key): bool + protected function setKeyInEnvironmentFile($key) { $currentKey = $this->laravel['config']['app.key'];