| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 39 | public function pushFieldDataValueItem(string $fieldValue, string $fieldText) |
||
| 40 | { |
||
| 41 | if (!array_key_exists('field_data_value', $this->param)) { |
||
| 42 | $this->param['field_data_value'] = []; |
||
| 43 | } |
||
| 44 | $this->param['field_data_value'][] = ['field_value' => $fieldValue, 'field_text' => $fieldText]; |
||
| 45 | return $this; |
||
| 46 | } |
||
| 47 | } |