| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 42 | protected function buildQuery(): array |
||
| 43 | { |
||
| 44 | $query = parent::buildQuery(); |
||
| 45 | $query += [ |
||
| 46 | 'nlp_enabled' => $this->configs['nlp_enabled'] ?? null, |
||
| 47 | 'model' => $this->configs['model'] ?? null, |
||
| 48 | 'custom_token' => $this->configs['custom_token'] ?? null, |
||
| 49 | 'verbose' => $this->configs['verbose'] ?? null, |
||
| 50 | 'n_best' => $this->configs['n_best'] ?? null, |
||
| 51 | ]; |
||
| 52 | |||
| 53 | return $this->arrayFilter($query); |
||
| 54 | } |
||
| 56 |