Completed
Push — master ( 0d9792...be4661 )
by Dominik
04:26 queued 02:13
created
src/LocaleTranslationProviderInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Translation;
6 6
 
Please login to merge, or discard this patch.
src/Translator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Translation;
6 6
 
Please login to merge, or discard this patch.
src/NullTranslator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Translation;
6 6
 
Please login to merge, or discard this patch.
src/TranslationTwigExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Translation;
6 6
 
Please login to merge, or discard this patch.
src/TranslatorInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Translation;
6 6
 
Please login to merge, or discard this patch.
src/LocaleTranslationProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Translation;
6 6
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     {
87 87
         $translation = $this->translations[$key];
88 88
         foreach ($arguments as $name => $value) {
89
-            $translation = str_replace('{{' . $name . '}}', $value, $translation);
89
+            $translation = str_replace('{{'.$name.'}}', $value, $translation);
90 90
         }
91 91
 
92 92
         return $translation;
Please login to merge, or discard this patch.
src/TranslationProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Translation;
6 6
 
@@ -14,11 +14,11 @@  discard block
 block discarded – undo
14 14
      */
15 15
     public function register(Container $container)
16 16
     {
17
-        $container['translator.providers'] = function () use ($container) {
17
+        $container['translator.providers'] = function() use ($container) {
18 18
             return [];
19 19
         };
20 20
 
21
-        $container['translator'] = function () use ($container) {
21
+        $container['translator'] = function() use ($container) {
22 22
             return new Translator($container['translator.providers'], $container['logger'] ?? null);
23 23
         };
24 24
     }
Please login to merge, or discard this patch.