Completed
Branch master (aeb839)
by Rafał
20:08
created
PH/Component/Core/Payment/Provider/SubscriptionPaymentProviderInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/PH/Component/Core/Model/PaymentMethodInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/PH/Component/Core/Model/Subscription.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/PH/Component/Core/Model/Payment.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/PH/Component/Core/Model/PaymentInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/PH/Component/Core/SubscriptionTransitions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/PH/Component/Core/Processor/SubscriptionPaymentProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/PH/Component/Webhook/Model/Webhook.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/PH/Behat/Mocks/SubscriptionTokenAssignerMock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.