diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index de020e95..14008809 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -4266,7 +4266,9 @@ class SSH2 if (strlen($packet) != $sent) { $this->bitmap = 0; - $message = $sent === false ? ('Unable to write ' . strlen($packet) . ' bytes') : ("Only $sent of " . strlen($packet) . " bytes were sent"); + $message = $sent === false ? + 'Unable to write ' . strlen($packet) . ' bytes' : + "Only $sent of " . strlen($packet) . " bytes were sent"; throw new \RuntimeException($message); } }