From acad5e14cc2f0a3b203f1b522b631b84ec8c8bf3 Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 8 Jul 2024 04:36:04 +0300 Subject: [PATCH] fix query format --- src/Client/Request.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Client/Request.php b/src/Client/Request.php index 560a1fd..b0c37ce 100644 --- a/src/Client/Request.php +++ b/src/Client/Request.php @@ -184,7 +184,10 @@ class Request $this->_host, $this->_port, $this->_path, - $this->_query + $this->_query ? sprintf( + '?%s', + $this->_query + ) : null ) );