Skip to content

Commit dbc97d7

Browse files
authored
Another cast for setTty() (#5801)
* Another cast for setTty() * Add space
1 parent 6154768 commit dbc97d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/sql/SqlCommands.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function cli(InputInterface $input, $options = ['extra' => self::REQ]): v
139139
if (!Tty::isTtySupported()) {
140140
$process->setInput($this->stdin()->getStream());
141141
} else {
142-
$process->setTty($this->getConfig()->get('ssh.tty', $input->isInteractive()));
142+
$process->setTty((bool) $this->getConfig()->get('ssh.tty', $input->isInteractive()));
143143
}
144144
$process->mustRun($process->showRealtime());
145145
}

0 commit comments

Comments
 (0)