@@ -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\CoreBundle\EventListener; |
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\CoreBundle\Validator\Constraint; |
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\CoreBundle\Event; |
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\CoreBundle\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\CoreBundle\Facade; |
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\CoreBundle\Doctrine\ORM; |
6 | 6 |
@@ -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\CoreBundle\Doctrine\ORM; |
6 | 6 | |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | */ |
34 | 34 | protected function applyCriteria(QueryBuilder $queryBuilder, array $criteria = []): void |
35 | 35 | { |
36 | - $criteria = array_filter($criteria, function ($value) { |
|
36 | + $criteria = array_filter($criteria, function($value) { |
|
37 | 37 | return !is_null($value); |
38 | 38 | }); |
39 | 39 |
@@ -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\CoreBundle\Form\Extension; |
6 | 6 |
@@ -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\CoreBundle\Form\Extension; |
6 | 6 | |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | 'data' => $gatewayFactory, |
30 | 30 | ]) |
31 | 31 | ->add('supportsRecurring', CheckboxType::class) |
32 | - ->addEventListener(FormEvents::SUBMIT, function (FormEvent $event) { |
|
32 | + ->addEventListener(FormEvents::SUBMIT, function(FormEvent $event) { |
|
33 | 33 | $paymentMethod = $event->getData(); |
34 | 34 | |
35 | 35 | if (!$paymentMethod instanceof PaymentMethodInterface) { |