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()); }