@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Component\ContentType\Standard\Field; |
6 | 6 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | |
31 | 31 | public function configureOptions(FieldOptionsResolver $resolver) |
32 | 32 | { |
33 | - $resolver->setViewMapper(function ($options) { |
|
33 | + $resolver->setViewMapper(function($options) { |
|
34 | 34 | return array_merge([ |
35 | 35 | 'time_format' => 'none' |
36 | 36 | ], $options); |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Component\ContentType\Standard\Field; |
6 | 6 | |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | |
30 | 30 | public function configureOptions(FieldOptionsResolver $options) |
31 | 31 | { |
32 | - $options->setFormMapper(function ($options, $shared) { |
|
32 | + $options->setFormMapper(function($options, $shared) { |
|
33 | 33 | $options['input'] = 'datetime'; |
34 | 34 | |
35 | 35 | return $options; |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Component\ContentType\Standard\Field; |
6 | 6 | |
@@ -29,13 +29,13 @@ discard block |
||
29 | 29 | |
30 | 30 | public function configureOptions(FieldOptionsResolver $options) |
31 | 31 | { |
32 | - $options->setFormMapper(function ($options, $shared) { |
|
32 | + $options->setFormMapper(function($options, $shared) { |
|
33 | 33 | $options['input'] = 'datetime'; |
34 | 34 | |
35 | 35 | return $options; |
36 | 36 | }); |
37 | 37 | |
38 | - $options->setViewMapper(function ($options, $shared) { |
|
38 | + $options->setViewMapper(function($options, $shared) { |
|
39 | 39 | $options = array_merge([ |
40 | 40 | 'date_format' => 'none' |
41 | 41 | ], $options); |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Component\ContentType\Standard\Field; |
6 | 6 | |
@@ -29,13 +29,13 @@ discard block |
||
29 | 29 | |
30 | 30 | public function configureOptions(FieldOptionsResolver $options) |
31 | 31 | { |
32 | - $options->setFormMapper(function ($options, $shared) { |
|
32 | + $options->setFormMapper(function($options, $shared) { |
|
33 | 33 | $options['input'] = 'datetime'; |
34 | 34 | |
35 | 35 | return $options; |
36 | 36 | }); |
37 | 37 | |
38 | - $options->setViewMapper(function ($options, $shared) { |
|
38 | + $options->setViewMapper(function($options, $shared) { |
|
39 | 39 | $options = array_merge([ |
40 | 40 | 'date_format' => 'none' |
41 | 41 | ], $options); |