| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 47 | 15 | public function __construct( |
|
| 48 | Bank $bank = null, |
||
| 49 | Holder $holder = null, |
||
| 50 | int $account = 0, |
||
| 51 | int $digit = 0, |
||
| 52 | int $operation = 0, |
||
| 53 | bool $security = false |
||
| 54 | ) { |
||
| 55 | 15 | $this->bank = $bank ?? new Bank; |
|
| 56 | 15 | $this->holder = $holder ?? new Holder; |
|
| 57 | 15 | $this->account = $account; |
|
| 58 | 15 | $this->digit = $digit; |
|
| 59 | 15 | $this->operation = $operation; |
|
| 60 | 15 | $this->security = $security; |
|
| 61 | 15 | } |
|
| 62 | |||
| 159 |