Passed
Pull Request — master (#2)
by Kauri
03:12
created
src/PaymentScheduleConfig.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,12 +52,12 @@  discard block
 block discarded – undo
52 52
         );
53 53
 
54 54
         foreach ($intervalMultiplier as $pattern => $multiplier) {
55
-            if ($dateInterval->format('%' . $pattern) > 0) {
56
-                $intervalLength = $intervalLength + (int)$dateInterval->format('%' . $pattern) * $multiplier;
55
+            if ($dateInterval->format('%'.$pattern) > 0) {
56
+                $intervalLength = $intervalLength + (int) $dateInterval->format('%'.$pattern) * $multiplier;
57 57
             }
58 58
         }
59 59
 
60
-        return (int)$intervalLength;
60
+        return (int) $intervalLength;
61 61
     }
62 62
 
63 63
     /**
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     /**
96 96
      * @return \DateTimeInterface|null
97 97
      */
98
-    public function getFirstPaymentDate(): ?\DateTimeInterface
98
+    public function getFirstPaymentDate(): ? \DateTimeInterface
99 99
     {
100 100
         return $this->firstPaymentDate;
101 101
     }
Please login to merge, or discard this patch.