@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * {@inheritdoc} |
41 | 41 | */ |
42 | - public function trans($id, array $parameters = array(), $domain = null, $locale = null) |
|
42 | + public function trans($id, array $parameters = array(), $domain = null, $locale = null) |
|
43 | 43 | { |
44 | 44 | $id = (string) $id; |
45 | 45 | if (!$domain) { |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | /** |
66 | 66 | * {@inheritdoc} |
67 | 67 | */ |
68 | - public function transChoice($id, $number, array $parameters = array(), $domain = null, $locale = null) |
|
68 | + public function transChoice($id, $number, array $parameters = array(), $domain = null, $locale = null) |
|
69 | 69 | { |
70 | 70 | $id = (string) $id; |
71 | 71 | if (!$domain) { |
@@ -28,7 +28,7 @@ |
||
28 | 28 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
29 | 29 | $loader->load('services.yml'); |
30 | 30 | |
31 | - switch($config['translation_service']) { |
|
31 | + switch ($config['translation_service']) { |
|
32 | 32 | case 'google': |
33 | 33 | $translatorServiceDef = $container->register('happyr.translation.auto.service', GoogleTranslator::class); |
34 | 34 | $translatorServiceDef->addArgument($config['google_key']); |