@@ -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 |
@@ -178,7 +178,7 @@ |
||
178 | 178 | } |
179 | 179 | |
180 | 180 | /** |
181 | - * @param PaymentMethodInterface $method|null |
|
181 | + * @param PaymentMethodInterface $method |
|
182 | 182 | */ |
183 | 183 | public function setMethod(?PaymentMethodInterface $method) |
184 | 184 | { |
@@ -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 | } |
@@ -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 | |
@@ -17,5 +17,5 @@ discard block |
||
17 | 17 | /** |
18 | 18 | * @param \DateTimeInterface|null $dateTime |
19 | 19 | */ |
20 | - public function setCanceledAt(?\DateTimeInterface $dateTime): void; |
|
20 | + public function setCanceledAt(?\DateTimeInterface $dateTime) : void; |
|
21 | 21 | } |
@@ -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; |
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\Processor; |
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\Webhook\Model; |
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\Behat\Mocks; |
6 | 6 |