From f20dbd672ee5ced6d0d32b46aaa183bdca78de5c Mon Sep 17 00:00:00 2001 From: Ahmed Alaa <92916738+AhmedAlaa4611@users.noreply.github.com> Date: Mon, 14 Jul 2025 15:35:02 +0300 Subject: [PATCH] Reduce meaningless intermediate variables --- .../Foundation/Console/BroadcastingInstallCommand.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Illuminate/Foundation/Console/BroadcastingInstallCommand.php b/src/Illuminate/Foundation/Console/BroadcastingInstallCommand.php index 7ee4c1f81313..6cc442e8c3c7 100644 --- a/src/Illuminate/Foundation/Console/BroadcastingInstallCommand.php +++ b/src/Illuminate/Foundation/Console/BroadcastingInstallCommand.php @@ -367,9 +367,7 @@ protected function installReverb() return; } - $install = confirm('Would you like to install Laravel Reverb?', default: true); - - if (! $install) { + if (! confirm('Would you like to install Laravel Reverb?', default: true)) { return; }