| Conditions | 5 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public function getValue(): array |
||
| 24 | { |
||
| 25 | $valueArray = []; |
||
| 26 | if (!empty(parent::getValue()) && \in_array($this->operator, ['e', 'n'])) { |
||
| 27 | foreach (\App\Json::decode(parent::getValue()) as $value) { |
||
| 28 | if (!empty($value[$this->operator])) { |
||
| 29 | $valueArray[] = $value[$this->operator]; |
||
| 30 | } |
||
| 31 | } |
||
| 32 | } |
||
| 33 | return $valueArray; |
||
| 34 | } |
||
| 60 |