Passed
Branch master (3a4561)
by David
10:57
created
src/Locale/DefaultProvider.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
 /*
6 6
  * This file is part of the TranslationFormBundle package.
Please login to merge, or discard this patch.
src/Locale/LocaleProviderInterface.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
 /*
6 6
  * This file is part of the TranslationFormBundle package.
Please login to merge, or discard this patch.
src/A2lixTranslationFormBundle.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
 /*
6 6
  * This file is part of the TranslationFormBundle package.
Please login to merge, or discard this patch.
tests/Fixtures/Form/MediaLocalizeType.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
 /*
6 6
  * This file is part of the TranslationFormBundle package.
Please login to merge, or discard this patch.
tests/Fixtures/Entity/MediaLocalize.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
 /*
6 6
  * This file is part of the TranslationFormBundle package.
Please login to merge, or discard this patch.
tests/Fixtures/Entity/Product.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
 /*
6 6
  * This file is part of the TranslationFormBundle package.
Please login to merge, or discard this patch.
tests/Fixtures/Entity/ProductTranslation.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
 /*
6 6
  * This file is part of the TranslationFormBundle package.
Please login to merge, or discard this patch.
tests/DependencyInjection/A2lixTranslationFormExtensionTest.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
 /*
6 6
  * This file is part of the TranslationFormBundle package.
Please login to merge, or discard this patch.
tests/Form/Type/TranslationsTypeAdvancedTest.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
 /*
6 6
  * This file is part of the TranslationFormBundle package.
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
         $translationsForm = $form->get('translations')->all();
45 45
         $translationsLocales = array_keys($translationsForm);
46
-        $translationsRequiredLocales = array_keys(array_filter($translationsForm, function ($form) {
46
+        $translationsRequiredLocales = array_keys(array_filter($translationsForm, function($form) {
47 47
             return $form->isRequired();
48 48
         }));
49 49
 
Please login to merge, or discard this patch.