Code Duplication    Length = 7-7 lines in 2 locations

lib/Fhp/FinTs.php 2 locations

@@ 270-276 (lines=7) @@
267
                $konto->addDataElement(static::DEFAULT_COUNTRY_CODE);
268
                $konto->addDataElement($account->getBlz());
269
                break;
270
            case 6:
271
                $konto = new Ktv(
272
                    $account->getAccountNumber(),
273
                    $account->getSubAccount(),
274
                    new Kik(280, $account->getBlz())
275
                );
276
                break;
277
            case 7:
278
                $konto = new Kti(
279
                    $account->getIban(),
@@ 337-343 (lines=7) @@
334
                $hksalAccount->addDataElement(static::DEFAULT_COUNTRY_CODE);
335
                $hksalAccount->addDataElement($account->getBlz());
336
                break;
337
            case 6:
338
                $hksalAccount = new Ktv(
339
                    $account->getAccountNumber(),
340
                    $account->getSubAccount(),
341
                    new Kik(280, $account->getBlz())
342
                );
343
                break;
344
            case 7:
345
                $hksalAccount = new Kti(
346
                    $account->getIban(),