Skip to content

Commit

Permalink
Another cast for setTty() (#5801)
Browse files Browse the repository at this point in the history
* Another cast for setTty()

* Add space
  • Loading branch information
weitzman committed Oct 31, 2023
1 parent 6154768 commit dbc97d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/sql/SqlCommands.php
Expand Up @@ -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());
}
Expand Down

0 comments on commit dbc97d7

Please sign in to comment.