From a5bfd3e4995349c374acbcd0e9db0b838943d61b Mon Sep 17 00:00:00 2001 From: Jose Rodriguez Date: Fri, 15 Dec 2023 09:29:20 +0100 Subject: [PATCH] fix: Resets static $data before gather app info --- src/Illuminate/Foundation/Console/AboutCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Illuminate/Foundation/Console/AboutCommand.php b/src/Illuminate/Foundation/Console/AboutCommand.php index 23d2b23b631a..b393c60f1d6a 100644 --- a/src/Illuminate/Foundation/Console/AboutCommand.php +++ b/src/Illuminate/Foundation/Console/AboutCommand.php @@ -159,6 +159,8 @@ protected function displayJson($data) */ protected function gatherApplicationInformation() { + self::$data = []; + $formatEnabledStatus = fn ($value) => $value ? 'ENABLED' : 'OFF'; $formatCachedStatus = fn ($value) => $value ? 'CACHED' : 'NOT CACHED';