Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
25 | 59 | public function rewrite(AccountNumber $account): AccountNumber |
|
26 | { |
||
27 | 59 | return new UndefinedAccount( |
|
28 | 59 | $account->getRawNumber(), |
|
29 | 59 | $this->clearing, |
|
30 | 59 | '', |
|
31 | 59 | $account->getClearingNumber() . $account->getClearingCheckDigit() . $account->getSerialNumber(), |
|
32 | 59 | $account->getCheckDigit() |
|
33 | ); |
||
34 | } |
||
35 | } |
||
36 |