Completed
Pull Request — master (#154)
by Lukas
122:39 queued 57:33
created
controller/httperror.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 							  ILogger $logger) {
49 49
 		$code = $this->getHttpStatusCode($exception);
50 50
 
51
-		if(!($exception instanceof ForbiddenServiceException)) {
51
+		if (!($exception instanceof ForbiddenServiceException)) {
52 52
 			$logger->logException($exception, ['app' => 'gallery']);
53 53
 			$message = sprintf('An error occurred. Request ID: %s', $request->getId());
54 54
 		} else {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 		$message = $exception->getMessage();
77 77
 		$code = $this->getHttpStatusCode($exception);
78 78
 		$url = $urlGenerator->linkToRoute(
79
-			$appName . '.page.error_page', ['code' => $code]
79
+			$appName.'.page.error_page', ['code' => $code]
80 80
 		);
81 81
 
82 82
 		$response = new RedirectResponse($url);
Please login to merge, or discard this patch.