Passed
Pull Request — dev (#103)
by Marcin
02:41
created
src/ResponseBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.