Skip to content

Commit

Permalink
Merge pull request #138 from peter279k/short_array
Browse files Browse the repository at this point in the history
Replace long array syntax with short syntax
  • Loading branch information
rbeuque74 authored Oct 13, 2023
2 parents 81610e3 + d453da6 commit d2c2161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d2c2161

Please sign in to comment.