@@ -161,18 +161,18 @@ |
||
| 161 | 161 | if (array_keys($value)[0] === 0) { |
| 162 | 162 | // List query param (eg filter[]=haha should become "filter[]": "haha") |
| 163 | 163 | $output .= str_repeat(" ", $spacesIndentation); |
| 164 | - $output .= "$quote$parameter"."[]$quote$delimiter $quote$value[0]$quote,\n"; |
|
| 164 | + $output .= "$quote$parameter" . "[]$quote$delimiter $quote$value[0]$quote,\n"; |
|
| 165 | 165 | } else { |
| 166 | 166 | // Hash query param (eg filter[name]=john should become "filter[name]": "john") |
| 167 | 167 | foreach ($value as $item => $itemValue) { |
| 168 | 168 | $output .= str_repeat(" ", $spacesIndentation); |
| 169 | - $output .= "$quote$parameter"."[$item]$quote$delimiter $quote$itemValue$quote,\n"; |
|
| 169 | + $output .= "$quote$parameter" . "[$item]$quote$delimiter $quote$itemValue$quote,\n"; |
|
| 170 | 170 | } |
| 171 | 171 | } |
| 172 | 172 | |
| 173 | 173 | } |
| 174 | 174 | } |
| 175 | 175 | |
| 176 | - return $output.str_repeat(" ", $closingBraceIndentation)."{$braces[1]}"; |
|
| 176 | + return $output . str_repeat(" ", $closingBraceIndentation) . "{$braces[1]}"; |
|
| 177 | 177 | } |
| 178 | 178 | } |