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:
commit
d2c21616d0
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user