|
@@ -437,7 +437,7 @@ discard block |
|
|
block discarded – undo |
|
437
|
437
|
$data = $converter->convert($data); |
|
438
|
438
|
if ($data !== null && !is_object($data)) { |
|
439
|
439
|
// ensure we get object in final JSON structure in data node |
|
440
|
|
- $data = (object)$data; |
|
|
440
|
+ $data = (object) $data; |
|
441
|
441
|
} |
|
442
|
442
|
|
|
443
|
443
|
/** @noinspection PhpUndefinedClassInspection */ |
|
@@ -451,7 +451,7 @@ discard block |
|
|
block discarded – undo |
|
451
|
451
|
|
|
452
|
452
|
if ($debug_data !== null) { |
|
453
|
453
|
$debug_key = Config::get(static::CONF_KEY_DEBUG_DEBUG_KEY, self::KEY_DEBUG); |
|
454
|
|
- $response[ $debug_key ] = $debug_data; |
|
|
454
|
+ $response[$debug_key] = $debug_data; |
|
455
|
455
|
} |
|
456
|
456
|
|
|
457
|
457
|
return $response; |
Please login to merge, or discard this patch.