Passed
Branch master (aeb839)
by Rafał
09:35
created
src/PH/Component/Core/Assigner/SubscriptionTokenAssigner.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\Assigner;
6 6
 
Please login to merge, or discard this patch.
src/PH/Component/Core/Assigner/SubscriptionTokenAssignerInterface.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\Assigner;
6 6
 
Please login to merge, or discard this patch.
src/PH/Component/Core/Resolver/StateResolverInterface.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\Resolver;
6 6
 
Please login to merge, or discard this patch.
src/PH/Component/Core/Resolver/SubscriptionPaymentStateResolver.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\Resolver;
6 6
 
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/PH/Component/Core/Resolver/SubscriptionStateResolver.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\Resolver;
6 6
 
Please login to merge, or discard this patch.
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 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
 
@@ -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.
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.