Completed
Push — master ( 335693...9a7aa7 )
by
unknown
18:32 queued 10s
created
lib/public/AppFramework/Http/Response.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 			$expires = new \DateTime();
98 98
 			$time = \OCP\Server::get(ITimeFactory::class);
99 99
 			$expires->setTimestamp($time->getTime());
100
-			$expires->add(new \DateInterval('PT' . $cacheSeconds . 'S'));
100
+			$expires->add(new \DateInterval('PT'.$cacheSeconds.'S'));
101 101
 			$this->addHeader('Expires', $expires->format(\DateTimeInterface::RFC7231));
102 102
 		} else {
103 103
 			$this->addHeader('Cache-Control', 'no-cache, no-store, must-revalidate');
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
 	 * @since 6.0.0 - return value was added in 7.0.0
179 179
 	 */
180 180
 	public function addHeader($name, $value) {
181
-		$name = trim($name);  // always remove leading and trailing whitespace
181
+		$name = trim($name); // always remove leading and trailing whitespace
182 182
 		// to be able to reliably check for security
183 183
 		// headers
184 184
 
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
 		}
245 245
 
246 246
 		if ($this->ETag) {
247
-			$mergeWith['ETag'] = '"' . $this->ETag . '"';
247
+			$mergeWith['ETag'] = '"'.$this->ETag.'"';
248 248
 		}
249 249
 
250 250
 		$userSession = Server::get(IUserSession::class);
Please login to merge, or discard this patch.