From dbc97d7073fc08d06b2fc1208ac9d5e3d037875b Mon Sep 17 00:00:00 2001 From: Moshe Weitzman Date: Tue, 31 Oct 2023 10:18:28 -0400 Subject: [PATCH] Another cast for setTty() (#5801) * Another cast for setTty() * Add space --- src/Commands/sql/SqlCommands.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/sql/SqlCommands.php b/src/Commands/sql/SqlCommands.php index 136398b46c..6ccefd96fd 100644 --- a/src/Commands/sql/SqlCommands.php +++ b/src/Commands/sql/SqlCommands.php @@ -139,7 +139,7 @@ public function cli(InputInterface $input, $options = ['extra' => self::REQ]): v if (!Tty::isTtySupported()) { $process->setInput($this->stdin()->getStream()); } else { - $process->setTty($this->getConfig()->get('ssh.tty', $input->isInteractive())); + $process->setTty((bool) $this->getConfig()->get('ssh.tty', $input->isInteractive())); } $process->mustRun($process->showRealtime()); }