@@ -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\Component\Core\Assigner; |
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\Component\Core\Assigner; |
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\Component\Core\Resolver; |
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\Component\Core\Resolver; |
6 | 6 | |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | */ |
104 | 104 | private function getPaymentsWithState(SubscriptionInterface $subscription, string $state) |
105 | 105 | { |
106 | - return $subscription->getPayments()->filter(function (PaymentInterface $payment) use ($state) { |
|
106 | + return $subscription->getPayments()->filter(function(PaymentInterface $payment) use ($state) { |
|
107 | 107 | return $state === $payment->getState(); |
108 | 108 | }); |
109 | 109 | } |
@@ -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\Component\Core\Resolver; |
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\Component\Core\Payment\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\Component\Core\Model; |
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\Component\Core\Model; |
6 | 6 | |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | return null; |
115 | 115 | } |
116 | 116 | |
117 | - $payment = $this->payments->filter(function (PaymentInterface $payment) use ($state) { |
|
117 | + $payment = $this->payments->filter(function(PaymentInterface $payment) use ($state) { |
|
118 | 118 | return null === $state || $payment->getState() === $state; |
119 | 119 | })->last(); |
120 | 120 |
@@ -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\Component\Core\Model; |
6 | 6 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | /** |
36 | 36 | * {@inheritdoc} |
37 | 37 | */ |
38 | - public function setCanceledAt(?\DateTimeInterface $dateTime): void |
|
38 | + public function setCanceledAt(?\DateTimeInterface $dateTime) : void |
|
39 | 39 | { |
40 | 40 | $this->canceledAt = $dateTime; |
41 | 41 | } |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | /** |
60 | 60 | * {@inheritdoc} |
61 | 61 | */ |
62 | - public function setSubscription(?BaseSubscriptionInterface $subscription): void |
|
62 | + public function setSubscription(?BaseSubscriptionInterface $subscription) : void |
|
63 | 63 | { |
64 | 64 | $this->subscription = $subscription; |
65 | 65 | } |