Test Failed
Pull Request — master (#340)
by David
08:53
created
src/Form/Type/TranslatedEntityType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,13 +34,13 @@
 block discarded – undo
34 34
     {
35 35
         $resolver->setDefaults([
36 36
             'translation_path' => 'translations',
37
-            'query_builder' => function (EntityRepository $er) {
37
+            'query_builder' => function(EntityRepository $er) {
38 38
                 return $er->createQueryBuilder('e')
39 39
                     ->select('e, t')
40 40
                     ->join('e.translations', 't')
41 41
                 ;
42 42
             },
43
-            'choice_label' => function (Options $options) {
43
+            'choice_label' => function(Options $options) {
44 44
                 if (null === ($request = $this->requestStack->getCurrentRequest())) {
45 45
                     throw new \RuntimeException('Error while getting request');
46 46
                 }
Please login to merge, or discard this patch.
src/DependencyInjection/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
             ->arrayNode('locales')
38 38
             ->beforeNormalization()
39 39
             ->ifString()
40
-            ->then(function ($v) {
40
+            ->then(function($v) {
41 41
                 return preg_split('/\s*,\s*/', $v);
42 42
             })
43 43
             ->end()
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
             ->arrayNode('required_locales')
49 49
             ->beforeNormalization()
50 50
             ->ifString()
51
-            ->then(function ($v) {
51
+            ->then(function($v) {
52 52
                 return preg_split('/\s*,\s*/', $v);
53 53
             })
54 54
             ->end()
Please login to merge, or discard this patch.