Passed
Push — master ( e6af69...0c911a )
by Andreas
17:38
created
src/midcom/datamanager/extension/type/subformType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
                 'max_count' => 0
39 39
             ]
40 40
         ]);
41
-        $resolver->setNormalizer('constraints', function (Options $options, $value) {
41
+        $resolver->setNormalizer('constraints', function(Options $options, $value) {
42 42
             $validation = [];
43 43
             if ($options['type_config']['max_count'] > 0) {
44 44
                 $validation['max'] = $options['type_config']['max_count'];
@@ -51,12 +51,12 @@  discard block
 block discarded – undo
51 51
             }
52 52
             return $validation;
53 53
         });
54
-        $resolver->setNormalizer('entry_options', function (Options $options, $value) {
54
+        $resolver->setNormalizer('entry_options', function(Options $options, $value) {
55 55
             return array_replace([
56 56
                 'widget_config' => $options['widget_config']
57 57
             ], (array) $value);
58 58
         });
59
-        $resolver->setNormalizer('widget_config', function (Options $options, $value) {
59
+        $resolver->setNormalizer('widget_config', function(Options $options, $value) {
60 60
             if (!array_key_exists('sortable', $value)) {
61 61
                 $value['sortable'] = false;
62 62
             }
Please login to merge, or discard this patch.