@@ -52,12 +52,12 @@ discard block |
||
| 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 |
||
| 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 | } |