diff --git a/src/Illuminate/Foundation/Console/KeyGenerateCommand.php b/src/Illuminate/Foundation/Console/KeyGenerateCommand.php index 9cbd594a7f3..70cc8e04d50 100644 --- a/src/Illuminate/Foundation/Console/KeyGenerateCommand.php +++ b/src/Illuminate/Foundation/Console/KeyGenerateCommand.php @@ -141,7 +141,7 @@ protected function writeNewEnvironmentFileWith(string $key): bool * * @return string */ - protected function keyReplacementPattern(): string + protected function keyReplacementPattern() { $escaped = preg_quote('='.$this->laravel['config']['app.key'], '/');