Passed
Push — master ( 665d29...d124fa )
by Joas
41:50 queued 27:39
created
apps/settings/lib/WellKnown/SecurityTxtHandler.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -32,18 +32,18 @@
 block discarded – undo
32 32
 use OCP\Http\WellKnown\IResponse;
33 33
 
34 34
 class SecurityTxtHandler implements IHandler {
35
-	public function handle(string $service, IRequestContext $context, ?IResponse $previousResponse): ?IResponse {
36
-		if ($service !== 'security.txt') {
37
-			return $previousResponse;
38
-		}
35
+    public function handle(string $service, IRequestContext $context, ?IResponse $previousResponse): ?IResponse {
36
+        if ($service !== 'security.txt') {
37
+            return $previousResponse;
38
+        }
39 39
 
40
-		$response = "Contact: https://hackerone.com/nextcloud
40
+        $response = "Contact: https://hackerone.com/nextcloud
41 41
 Expires: 2023-04-31T23:00:00.000Z
42 42
 Acknowledgments: https://hackerone.com/nextcloud/thanks
43 43
 Acknowledgments: https://github.com/nextcloud/security-advisories/security/advisories
44 44
 Policy: https://hackerone.com/nextcloud
45 45
 Preferred-Languages: en";
46 46
 
47
-		return new GenericResponse(new TextPlainResponse($response, 200));
48
-	}
47
+        return new GenericResponse(new TextPlainResponse($response, 200));
48
+    }
49 49
 }
Please login to merge, or discard this patch.