@@ -38,7 +38,7 @@ discard block |
||
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 |
||
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 | } |