Completed
Push — master ( de65c1...3b1aa8 )
by Axel
05:34 queued 47s
created
src/Zikula/CoreInstallerBundle/Helper/ParameterHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
             $this->variableApi->set(VariableApi::CONFIG, 'locale', $params['locale']);
124 124
             // Set the System Identifier as a unique string.
125 125
             if (!$this->variableApi->get(VariableApi::CONFIG, 'system_identifier')) {
126
-                $this->variableApi->set(VariableApi::CONFIG, 'system_identifier', str_replace('.', '', uniqid((string) (random_int(1000000000, 9999999999)), true)));
126
+                $this->variableApi->set(VariableApi::CONFIG, 'system_identifier', str_replace('.', '', uniqid((string)(random_int(1000000000, 9999999999)), true)));
127 127
             }
128 128
             // add admin email as site email
129 129
             $this->variableApi->set(VariableApi::CONFIG, 'adminmail', $params['email']);
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
             }
163 163
 
164 164
             // on upgrade, if a user doesn't add their custom theme back to the /theme dir, it should be reset to a core theme, if available.
165
-            $defaultTheme = (string) $this->variableApi->getSystemVar('Default_Theme');
165
+            $defaultTheme = (string)$this->variableApi->getSystemVar('Default_Theme');
166 166
             if (!$this->kernel->isBundle($defaultTheme) && $this->kernel->isBundle('ZikulaBootstrapTheme')) {
167 167
                 $this->variableApi->set(VariableApi::CONFIG, 'Default_Theme', 'ZikulaBootstrapTheme');
168 168
             }
Please login to merge, or discard this patch.