@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | 'later_than_or_equal' => false |
| 49 | 49 | ] |
| 50 | 50 | ]); |
| 51 | - $resolver->setNormalizer('widget_config', function (Options $options, $value) { |
|
| 51 | + $resolver->setNormalizer('widget_config', function(Options $options, $value) { |
|
| 52 | 52 | $widget_defaults = [ |
| 53 | 53 | 'showOn' => 'both', |
| 54 | 54 | 'format' => '%Y-%m-%d %H:%M', |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | ]; |
| 60 | 60 | return helper::normalize($widget_defaults, $value); |
| 61 | 61 | }); |
| 62 | - $resolver->setNormalizer('constraints', function (Options $options, $value) { |
|
| 62 | + $resolver->setNormalizer('constraints', function(Options $options, $value) { |
|
| 63 | 63 | if ($options['type_config']['later_than']) { |
| 64 | 64 | if ($options['type_config']['later_than_or_equal']) { |
| 65 | 65 | $value[] = new laterthanorequal($options['type_config']['later_than']); |