Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 4 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | public function addResult(Check $check, Result $result, $identifier = false, $description = "", $group = "") |
||
25 | { |
||
26 | $this->singleResults[] = [ |
||
27 | 'check' => $check, |
||
28 | 'result' => $result, |
||
29 | 'identifier' => $identifier, |
||
30 | 'description' => $description, |
||
31 | 'group' => $group |
||
32 | ]; |
||
33 | |||
34 | $this->globalStatus = Result::getHigherWeightedStatus($this->globalStatus, $result->getStatus()); |
||
35 | } |
||
50 |