| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | 51 | public function __construct( |
|
| 18 | bool $requestVarPresent, |
||
| 19 | $sanitizedInputValue, |
||
| 20 | bool $updateAttempted, |
||
| 21 | bool $updateSuccessful, |
||
| 22 | array $ruleViolations |
||
| 23 | ) { |
||
| 24 | 51 | $this->results['request_var_present'] = $requestVarPresent; |
|
| 25 | 51 | $this->results['sanitized_input_value'] = $sanitizedInputValue; |
|
| 26 | 51 | $this->results['update_attempted'] = $updateAttempted; |
|
| 27 | 51 | $this->results['update_successful'] = $updateSuccessful; |
|
| 28 | 51 | $this->results['rule_violations'] = $ruleViolations; |
|
| 29 | 51 | } |
|
| 63 |