From 79b6f96870fcce07907e6b411a2c690496b5eb4c Mon Sep 17 00:00:00 2001 From: terrafrost Date: Fri, 21 Apr 2023 15:39:01 -0500 Subject: [PATCH] SSH2: CS adjustment --- phpseclib/Net/SSH2.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } }