From d453da61fa336a4da179b60e7ba4a903f347953d Mon Sep 17 00:00:00 2001 From: peter279k Date: Fri, 13 Oct 2023 15:20:33 +0800 Subject: [PATCH] Replace long array syntax with short syntax Signed-off-by: peter279k --- src/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api.php b/src/Api.php index 43219a2..644dae4 100644 --- a/src/Api.php +++ b/src/Api.php @@ -261,7 +261,7 @@ protected function rawCall($method, $path, $content = null, $is_authenticated = if (isset($content) && $method === 'GET') { $query_string = $request->getUri()->getQuery(); - $query = array(); + $query = []; if (!empty($query_string)) { $queries = explode('&', $query_string); foreach ($queries as $element) {