Passed
Pull Request — master (#11)
by Joao
02:10 queued 11s
created
src/OutputProcessor/MockOutputProcessor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
 
21 21
     protected function writeHeader(HttpResponse $response)
22 22
     {
23
-        echo "HTTP/1.1 " . $response->getResponseCode() . "\r\n";
24
-        echo "Content-Type: " . $this->getContentType() . "\r\n";
23
+        echo "HTTP/1.1 ".$response->getResponseCode()."\r\n";
24
+        echo "Content-Type: ".$this->getContentType()."\r\n";
25 25
 
26 26
         foreach ($response->getHeaders() as $header) {
27 27
             if (is_array($header)) {
Please login to merge, or discard this patch.
src/OutputProcessor/BaseOutputProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         if (defined("RESTSERVER_TEST")) {
63 63
             return;
64 64
         }
65
-        header("Content-Type: " . $this->contentType);
65
+        header("Content-Type: ".$this->contentType);
66 66
     }
67 67
 
68 68
     public function getContentType()
Please login to merge, or discard this patch.
src/OutputProcessor/OutputProcessorInterface.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@
 block discarded – undo
40 40
     public function getDetailedErrorHandler();
41 41
 
42 42
         /**
43
-     * @return Handler
44
-     */
43
+         * @return Handler
44
+         */
45 45
     public function getErrorHandler();
46 46
 
47 47
     /**
Please login to merge, or discard this patch.