Completed
Push — master ( 618175...407cc4 )
by
unknown
42:19
created
apps/settings/lib/SetupChecks/InternetConnectivity.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -61,15 +61,15 @@
 block discarded – undo
61 61
 	private function isSiteReachable(string $site): bool {
62 62
 		// if there is no protocol specified, test http:// first then, if necessary, https://
63 63
 		if (preg_match('/^https?:\/\//', $site) !== 1) {
64
-			$httpSite = 'http://' . $site . '/';
65
-			$httpsSite = 'https://' . $site . '/';
64
+			$httpSite = 'http://'.$site.'/';
65
+			$httpsSite = 'https://'.$site.'/';
66 66
 			return $this->isSiteReachable($httpSite) || $this->isSiteReachable($httpsSite);
67 67
 		}
68 68
 		try {
69 69
 			$client = $this->clientService->newClient();
70 70
 			$client->head($site);
71 71
 		} catch (\Exception $e) {
72
-			$this->logger->error('Cannot connect to: ' . $site, [
72
+			$this->logger->error('Cannot connect to: '.$site, [
73 73
 				'app' => 'internet_connection_check',
74 74
 				'exception' => $e,
75 75
 			]);
Please login to merge, or discard this patch.