1
0
mirror of https://github.com/ovh/php-ovh.git synced 2023-11-05 03:20:26 +01:00

Replace long array syntax with short syntax

Signed-off-by: peter279k <peter279k@gmail.com>
This commit is contained in:
peter279k 2023-10-13 15:20:33 +08:00
parent 81610e3962
commit d453da61fa
No known key found for this signature in database
GPG Key ID: 8D816CD437F923AF

View File

@ -261,7 +261,7 @@ class Api
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) {