@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | $messageModules = $messageModuleCollector->getKeys(); |
59 | 59 | |
60 | 60 | $variables = $variableApi->getAll(VariableApi::CONFIG); |
61 | - $variables['UseCompression'] = (bool)$variables['UseCompression']; |
|
61 | + $variables['UseCompression'] = (bool) $variables['UseCompression']; |
|
62 | 62 | $form = $this->createForm( |
63 | 63 | MainSettingsType::class, |
64 | 64 | $variables, |
@@ -108,9 +108,9 @@ discard block |
||
108 | 108 | $form = $this->createForm( |
109 | 109 | LocaleSettingsType::class, |
110 | 110 | [ |
111 | - 'multilingual' => (bool)$variableApi->getSystemVar('multilingual'), |
|
111 | + 'multilingual' => (bool) $variableApi->getSystemVar('multilingual'), |
|
112 | 112 | 'languageurl' => $variableApi->getSystemVar('languageurl'), |
113 | - 'language_detect' => (bool)$variableApi->getSystemVar('language_detect'), |
|
113 | + 'language_detect' => (bool) $variableApi->getSystemVar('language_detect'), |
|
114 | 114 | 'locale' => $variableApi->getSystemVar('locale'), |
115 | 115 | 'timezone' => $variableApi->getSystemVar('timezone'), |
116 | 116 | ], |
@@ -53,7 +53,7 @@ |
||
53 | 53 | ->setParameter('excludedGid', $gid); |
54 | 54 | } |
55 | 55 | |
56 | - if ((int)$qb->getQuery()->getSingleScalarResult() > 0) { |
|
56 | + if ((int) $qb->getQuery()->getSingleScalarResult() > 0) { |
|
57 | 57 | $this->context->buildViolation( |
58 | 58 | $this->translator->trans( |
59 | 59 | 'The group name you entered (%groupName%) does already exist.', |