@@ -491,7 +491,7 @@ discard block |
||
491 | 491 | $data = $converter->convert($data); |
492 | 492 | if ($data !== null && !is_object($data)) { |
493 | 493 | // ensure we get object in final JSON structure in data node |
494 | - $data = (object)$data; |
|
494 | + $data = (object) $data; |
|
495 | 495 | } |
496 | 496 | |
497 | 497 | // get human readable message for API code or use message string (if given instead of API code) |
@@ -513,7 +513,7 @@ discard block |
||
513 | 513 | |
514 | 514 | if ($debug_data !== null) { |
515 | 515 | $debug_key = Config::get(static::CONF_KEY_DEBUG_DEBUG_KEY, self::KEY_DEBUG); |
516 | - $response[ $debug_key ] = $debug_data; |
|
516 | + $response[$debug_key] = $debug_data; |
|
517 | 517 | } |
518 | 518 | |
519 | 519 | return $response; |