From 59e34b1cd3d8c9ccf3b036c6f4464ffe0d3bf338 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Mon, 5 Sep 2022 12:50:38 -0500 Subject: [PATCH] SSH2: fix type hinting for keyboard_interactive_helper --- phpseclib/Net/SSH2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index d21c883c..25e7c912 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -2403,7 +2403,7 @@ class SSH2 * @return bool * @throws \RuntimeException on connection error */ - private function keyboard_interactive_process(array ...$responses) + private function keyboard_interactive_process(...$responses) { if (strlen($this->last_interactive_response)) { $response = $this->last_interactive_response;