| Conditions | 3 |
| Paths | 3 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 3 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 47 | 35 | public function __construct($requestOptions) |
|
| 48 | { |
||
| 49 | 35 | foreach ($requestOptions as $index => $requestOption) { |
|
| 50 | 35 | if ($index === 0) { |
|
| 51 | 35 | $this->selectionDetails = new SelectionDetails($requestOption); |
|
| 52 | 14 | } else { |
|
| 53 | 23 | $this->otherSelectionDetails[] = new SelectionDetails($requestOption); |
|
| 54 | } |
||
| 58 |