@@ -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 PH\Bundle\SubscriptionBundle\Form\Type; |
6 | 6 | |
@@ -42,10 +42,10 @@ discard block |
||
42 | 42 | |
43 | 43 | $builder->get('startDate') |
44 | 44 | ->addModelTransformer(new CallbackTransformer( |
45 | - function ($value) { |
|
45 | + function($value) { |
|
46 | 46 | return $value; |
47 | 47 | }, |
48 | - function ($value) { |
|
48 | + function($value) { |
|
49 | 49 | if (is_string($value)) { |
50 | 50 | return new \DateTime($value); |
51 | 51 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace PH\Bundle\SubscriptionBundle\Provider; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace PH\Bundle\SubscriptionBundle\Provider; |
6 | 6 |