Passed
Push — master ( a2fdc3...9fa498 )
by Tim
02:55
created
Classes/Service/SiteConfigurationService.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -15,13 +15,13 @@
 block discarded – undo
15 15
         $config = $site instanceof Site ? $site->getConfiguration() : [];
16 16
 
17 17
         return new SiteConfiguration(
18
-            !\array_key_exists('enableLanguageDetection', $config) || (bool) $config['enableLanguageDetection'],
19
-            (bool) ($config['disableRedirectWithBackendSession'] ?? false),
20
-            (string) ($config['addIpLocationToBrowserLanguage'] ?? ''),
21
-            (bool) ($config['allowAllPaths'] ?? false),
22
-            (int) ($config['redirectHttpStatusCode'] ?? 307),
23
-            (string) ($config['forwardRedirectParameters'] ?? ''),
24
-            (int) ($config['fallbackDetectionLanguage'] ?? 0),
18
+            !\array_key_exists('enableLanguageDetection', $config) || (bool)$config['enableLanguageDetection'],
19
+            (bool)($config['disableRedirectWithBackendSession'] ?? false),
20
+            (string)($config['addIpLocationToBrowserLanguage'] ?? ''),
21
+            (bool)($config['allowAllPaths'] ?? false),
22
+            (int)($config['redirectHttpStatusCode'] ?? 307),
23
+            (string)($config['forwardRedirectParameters'] ?? ''),
24
+            (int)($config['fallbackDetectionLanguage'] ?? 0),
25 25
         );
26 26
     }
27 27
 }
Please login to merge, or discard this patch.