| Conditions | 3 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 48 | public function value(array $data, $owner = null): bool |
||
| 49 | { |
||
| 50 | if (in_array($data[$this->for->key()], $this->truths, true)) { |
||
| 51 | return true; |
||
| 52 | } |
||
| 53 | if (in_array($data[$this->for->key()], $this->falsehoods, true)) { |
||
| 54 | return false; |
||
| 55 | } |
||
| 56 | return $this->for->value($data, $owner); |
||
| 57 | } |
||
| 71 |