Passed
Pull Request — master (#87)
by
unknown
02:10
created
lib/Fhp/Parser/MT940.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,8 +125,7 @@
 block discarded – undo
125 125
                         // if valuta date is earlier than booking date, then it must be in the new year.
126 126
                         if (substr($transaction, 2, 2) == '12' && substr($transaction, 6, 2) == '01') {
127 127
                             $year++;
128
-                        }
129
-                        elseif (substr($transaction, 2, 2) == '01' && substr($transaction, 6, 2) == '12') {
128
+                        } elseif (substr($transaction, 2, 2) == '01' && substr($transaction, 6, 2) == '12') {
130 129
                             $year--;
131 130
                         }
132 131
                         $bookingDate = $this->getDate($year . $bookingDate);
Please login to merge, or discard this patch.