From 4840d5c24ce5dba189aa993d25b695bf9ba9230c Mon Sep 17 00:00:00 2001 From: Alexei Andreev <157101240+itandreev@users.noreply.github.com> Date: Wed, 9 Apr 2025 07:59:22 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B4=D0=B4=D0=B5=D1=80=D0=B6?= =?UTF-8?q?=D0=BA=D0=B0=20PHP=208.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UnitPay.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnitPay.php b/UnitPay.php index 02a069c..d2218f7 100644 --- a/UnitPay.php +++ b/UnitPay.php @@ -309,7 +309,7 @@ public function api($method, array $params = []) $requestUrl = $this->apiUrl . '?' . http_build_query([ 'method' => $method, 'params' => $params, - ], null, '&', PHP_QUERY_RFC3986); + ], "", '&', PHP_QUERY_RFC3986); $response = json_decode(file_get_contents($requestUrl)); if (!is_object($response)) {