Conditions | 2 |
Paths | 2 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 2.032 |
Changes | 0 |
1 | <?php |
||
44 | 1 | protected function attachData(RequestInterface $request) |
|
45 | { |
||
46 | 1 | $request->addData('customerProfileId', $this->customerProfileId); |
|
47 | 1 | $request->addData('customerPaymentProfileId', $this->customerPaymentProfileId); |
|
48 | 1 | if ($this->unmaskExpirationDate) { |
|
49 | $request->addData('unmaskExpirationDate', $this->unmaskExpirationDate); |
||
50 | } |
||
53 |