@@ -15,13 +15,13 @@ |
||
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 | } |