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:
parent
81610e3962
commit
d453da61fa
@ -261,7 +261,7 @@ class Api
|
|||||||
if (isset($content) && $method === 'GET') {
|
if (isset($content) && $method === 'GET') {
|
||||||
$query_string = $request->getUri()->getQuery();
|
$query_string = $request->getUri()->getQuery();
|
||||||
|
|
||||||
$query = array();
|
$query = [];
|
||||||
if (!empty($query_string)) {
|
if (!empty($query_string)) {
|
||||||
$queries = explode('&', $query_string);
|
$queries = explode('&', $query_string);
|
||||||
foreach ($queries as $element) {
|
foreach ($queries as $element) {
|
||||||
|
Loading…
Reference in New Issue
Block a user