@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Xgc\CarbonBundle\Form\Type; |
5 | 5 | |
@@ -67,14 +67,14 @@ discard block |
||
67 | 67 | */ |
68 | 68 | public function buildForm(FormBuilderInterface $builder, array $options): void |
69 | 69 | { |
70 | - $parts = ['year', 'month', 'day', 'hour']; |
|
70 | + $parts = ['year', 'month', 'day', 'hour']; |
|
71 | 71 | |
72 | 72 | if ($options['with_minutes']) { |
73 | - $parts[] = 'minute'; |
|
73 | + $parts[] = 'minute'; |
|
74 | 74 | } |
75 | 75 | |
76 | 76 | if ($options['with_seconds']) { |
77 | - $parts[] = 'second'; |
|
77 | + $parts[] = 'second'; |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | $dateFormat = is_int($options['date_format']) ? $options['date_format'] : self::DEFAULT_DATE_FORMAT; |