@@ -450,7 +450,7 @@ discard block |
||
| 450 | 450 | $data = $converter->convert($data); |
| 451 | 451 | if ($data !== null && !is_object($data)) { |
| 452 | 452 | // ensure we get object in final JSON structure in data node |
| 453 | - $data = (object)$data; |
|
| 453 | + $data = (object) $data; |
|
| 454 | 454 | } |
| 455 | 455 | |
| 456 | 456 | $lang_args = $lang_args ?? []; |
@@ -474,7 +474,7 @@ discard block |
||
| 474 | 474 | |
| 475 | 475 | if ($debug_data !== null) { |
| 476 | 476 | $debug_key = Config::get(static::CONF_KEY_DEBUG_DEBUG_KEY, self::KEY_DEBUG); |
| 477 | - $response[ $debug_key ] = $debug_data; |
|
| 477 | + $response[$debug_key] = $debug_data; |
|
| 478 | 478 | } |
| 479 | 479 | |
| 480 | 480 | return $response; |