@@ -15,10 +15,10 @@ |
||
15 | 15 | $config = $this->processConfiguration($configuration, $configs); |
16 | 16 | |
17 | 17 | foreach ($config as $key => $value) { |
18 | - $container->setParameter('xiidea.easy_config.' . $key, $value); |
|
18 | + $container->setParameter('xiidea.easy_config.'.$key, $value); |
|
19 | 19 | } |
20 | 20 | |
21 | - $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
21 | + $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
22 | 22 | $loader->load('services.yaml'); |
23 | 23 | } |
24 | 24 | } |
@@ -14,7 +14,7 @@ |
||
14 | 14 | $text = preg_replace('/([A-Z]+)([A-Z][a-z])/', '\\1 \\2', $text); |
15 | 15 | $text = preg_replace('/([a-z\d])([A-Z])/', '\\1 \\2', $text); |
16 | 16 | $text = preg_replace('~\bdont\b~', 'don\'t', $text); |
17 | - $text = preg_replace('/_/', ' ', $text);; |
|
17 | + $text = preg_replace('/_/', ' ', $text); ; |
|
18 | 18 | |
19 | 19 | return mb_strtolower($text, 'UTF-8'); |
20 | 20 | } |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | |
91 | 91 | return new JsonResponse([ |
92 | 92 | 'success' => true, |
93 | - 'message' => $this->manager->getConfigurationGroupLabel($key) . ' data updated!' |
|
93 | + 'message' => $this->manager->getConfigurationGroupLabel($key).' data updated!' |
|
94 | 94 | ]); |
95 | 95 | } |
96 | 96 | |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | |
139 | 139 | return new JsonResponse([ |
140 | 140 | 'success' => true, |
141 | - 'message' => $this->manager->getConfigurationGroupLabel($key) . ' data updated!' |
|
141 | + 'message' => $this->manager->getConfigurationGroupLabel($key).' data updated!' |
|
142 | 142 | ]); |
143 | 143 | } |
144 | 144 |