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

Merge pull request #138 from peter279k/short_array

Replace long array syntax with short syntax
This commit is contained in:
Romain Beuque 2023-10-13 17:02:17 +02:00 committed by GitHub
commit d2c21616d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {