Completed
Push — master ( 965897...6c88e7 )
by Michael
07:54 queued 04:48
created
src/ServerRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,10 +103,10 @@
 block discarded – undo
103 103
 		}
104 104
 
105 105
 		$scheme = isset($this->getServerParams()['HTTPS']) ? 'https://' : 'http://';
106
-		$host = isset($this->getServerParams()['HTTP_HOST']) ? $scheme . $this->getServerParams()['HTTP_HOST'] : '';
106
+		$host = isset($this->getServerParams()['HTTP_HOST']) ? $scheme.$this->getServerParams()['HTTP_HOST'] : '';
107 107
 		$path = isset($this->getServerParams()['REQUEST_URI']) ? $this->getServerParams()['REQUEST_URI'] : '';
108 108
 
109
-		return new URI($host . $path);
109
+		return new URI($host.$path);
110 110
 	}
111 111
 
112 112
 	/**
Please login to merge, or discard this patch.
src/ServerResponse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,11 +45,11 @@
 block discarded – undo
45 45
 	public function send()
46 46
 	{
47 47
 		if ($this->getProtocolVersion() && $this->getStatusCode()) {
48
-			header(static::VERSION_DELIMITER . $this->getProtocolVersion() . ' ' . $this->getStatusCode() . ' ' . $this->getReasonPhrase());
48
+			header(static::VERSION_DELIMITER.$this->getProtocolVersion().' '.$this->getStatusCode().' '.$this->getReasonPhrase());
49 49
 		}
50 50
 
51 51
 		foreach ($this->getHeaders() as $key => $value) {
52
-			header($key . static::HEADER_DELIMITER . implode(static::HEADER_VALUE_DELIMITER, $value));
52
+			header($key.static::HEADER_DELIMITER.implode(static::HEADER_VALUE_DELIMITER, $value));
53 53
 		}
54 54
 
55 55
 		echo $this->getBody();
Please login to merge, or discard this patch.