Completed
Branch master (101a0b)
by Tobias
18:20
created
Category
src/Translator/FallbackTranslator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/DependencyInjection/HappyrAutoFallbackTranslationExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
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']);
Please login to merge, or discard this patch.