Passed
Push — master ( 532749...8a1619 )
by Marijan
01:31
created
src/Form/Type/EnumType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
     private function populateOptionsWithDefaults(array $options): array
37 37
     {
38
-        $elementNameClosure = function (?Enum $enum): string {
38
+        $elementNameClosure = function(?Enum $enum): string {
39 39
             if (null === $enum) {
40 40
                 return '';
41 41
             }
Please login to merge, or discard this patch.
src/Validator/Constraints/ValidEnumElementName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     public function __construct($options = null)
14 14
     {
15 15
         parent::__construct(
16
-            function (): array {
16
+            function(): array {
17 17
                 $choices = [];
18 18
 
19 19
                 foreach ($this->enumClass::values() as $element) {
Please login to merge, or discard this patch.
src/Validator/Constraints/ValidEnumElement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     public function __construct($options = null)
14 14
     {
15 15
         parent::__construct(
16
-            function (): array {
16
+            function(): array {
17 17
                 return $this->enumClass::values();
18 18
             },
19 19
             $options
Please login to merge, or discard this patch.