| Conditions | 4 |
| Paths | 8 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 4 |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | 1 | private function buildSetCookieHeaderValue($argument, $transactionData) |
|
| 26 | { |
||
| 27 | 1 | $value = $this->getValueOrPlaceholder($argument['value'], $transactionData); |
|
| 28 | |||
| 29 | 1 | return $argument['name'] . '=' . $value . $this->getSetCookieDatePart($argument) |
|
| 30 | 1 | . (isset($argument['domain']) ? '; domain=' . $argument['domain'] : '') |
|
| 31 | 1 | . (isset($argument['path']) ? '; path=' . $argument['path'] : '') |
|
| 32 | 1 | . (isset($argument['secure']) ? '; secure' : ''); |
|
| 33 | } |
||
| 34 | |||
| 43 |