Passed
Push — develop ( ddebd4...1bfb65 )
by Jens
02:42
created
cloudcontrol/library/components/cms/SearchRouting.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 	}
74 74
 
75 75
 	private function showJson($obj, $httpHeader = 'HTTP/1.0 200 OK') {
76
-		header($_SERVER['SERVER_PROTOCOL'] . $httpHeader, true);
76
+		header($_SERVER['SERVER_PROTOCOL'].$httpHeader, true);
77 77
 		header('Content-type: application/json');
78 78
 		die(json_encode($obj));
79 79
 	}
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 			$indexer->replaceOldIndex();
106 106
 			$this->showJson('done');
107 107
 		} else {
108
-			$this->showJson('Invalid step: ' . $step . '.', 'HTTP/1.0 500 Internal Server Error');
108
+			$this->showJson('Invalid step: '.$step.'.', 'HTTP/1.0 500 Internal Server Error');
109 109
 		}
110 110
 	}
111 111
 }
112 112
\ No newline at end of file
Please login to merge, or discard this patch.